From Fedora Project Wiki
Basic Operations
Developer Operations
Create a new local branch
git checkout -b <branch>
Push and create a new remote branch from an existing local branch of the same name
git push origin <branch>
Maintainer Operations
Apply mailed git patch
git am <file>