##Branch Management
show all branches git branch -v
git branch -a
delete branch git branch -d
clone a single branch git clone -b mybranch --single-branch git://sub.domain.com/repo.git
##Discard Changes / Commits
Discard all local changes and commitsgit reset --hard origin/master
##Manage commit histories Remove all commit hstories for file contains sensitive data: