How to programmatically determine the current checked out Git branch
33303
How to get the current branch name in Git?
84351
Git: Compare All Local Commits to Remote Repo Version
74449
How can I selectively merge or pick changes from another branch in Git?
125914
Eclipse git checkout (aka, revert)
78509
Is there a way to get the git root directory in one command?
8982
Can I recover a branch after its deletion in Git?
21405
How to remove local (untracked) files from the current Git working tree
50713
git: how to see changes the next push will send
15269
A way to restrict Git branch access?
53230
How do I discard unstaged changes in Git?
27047
Git push error '[remote rejected] master -> master (branch is currently checked out)'
152753
Make the current Git branch a master branch
150648
How can I tell if one commit is a descendant of another commit?
75523
How to see what has been checked into git, but hasn't been committed to svn via dcommit?
91394
Checking for a dirty index or untracked files with Git
88965
Writing a git post-receive hook to deal with a specific branch
114933
How do I get the current line number?