A list of basic Git commands
Add all files recursively in current directory
git add .
Show remotes
git remote -v
Delete a remote
git remote rm [remote name]
e.g.
git remote rm origin
Update remote url
git remote set-url [remote name] [new url]
e.g.
git remote set-url origin https://example.git
Show local branches
git branch
Show all remote branches
git branch -r
Show all commits
git log
Show the changes in last commits
git log -p -[N]
e.g.
git log -p -2
Show the files that were modified in each commit
git log --stat
Show all commit messages
git log --pretty=oneline
Tags
Git