Git commands that have proven to be very useful for developers
git config --global user.name "John Doe"git config --global user.mail "johndoe@domain.com"git config --local user.name "John Doe"git config --local user.mail "johndoe@domain.com"git config --global --unset-all user.name
git config --global --listgit config --global --replace-all user.name "New User Name"git config core.fileMode falsegit config --global core.autocrlf truegit config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:proxy_portgit config --global credential.helper storegit remote -vgit remote rm <remote>git push <remote> --allgit branchgit branch --allgit checkout <branch>git branch -d <branch>git branch -u <remote>/<branch>git remote prune <remote>git branch -d -r <remote>/<branch>git push <remote> --delete <branch>git push <remote> :<branch>git push <remote> --tagsgit push --follow-tagsgit tag -d <tag-name>git push --delete <remote> tagNamegit show <commit-sha>:relative/path/to/file/inside/repogit show <commit-sha>:relative/path/to/file/inside/repo > /new/path/to/file/content/at/selected/commitgit log -1 git log --decorate --graph -5git show git log --author=bob | grep ^commit | awk -F ' ' '{print $2}'