Create a shallow clone with the last fifty commits.
git clone --depth 50 some-repository
Open the current diff in the editor.
git add -e
View ALL branches:
git branch -a master
Fetch changes from all remote repositories.
git fetch --all
Pull changes and rebase instead of merge.
git pull --rebase origin master
Initialize a bare (no files) repository.
git init --bare /path/to/some/repo.git