Committing changes to a new branch and leaving the current branch clean?
34410
Move existing, uncommitted work to a new branch in Git
42987
How do I merge my local uncommitted changes into another Git branch?
74449
How can I selectively merge or pick changes from another branch in Git?
64515
How to remove selected commit log entries from a Git repository while keeping their changes?
114886
Delete or remove all history, commits, and branches from a remote Git repo?
102016
git commit -a confusion
7597
How do I undo the most recent local commits in Git?
33303
How to get the current branch name in Git?
106905
Merge, update, and pull Git branches without using checkouts
152753
Make the current Git branch a master branch
134890
How to diff a commit with its parent?
37300
How to fully delete a git repository created with init?
147235
How to programmatically determine the current checked out Git branch
59710
Edit the root commit in Git?
131801
How do I merge changes from a development copy of the site to the live site without losing new content?
8754
How do I migrate an SVN repository with history to a new Git repository?
82533
Combine the first two commits of a Git repository?