From Fedora Project Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

git and branches

# clone
git clone git://git.fedorahosted.org/git/spin-kickstarts.git
# switch to a branch
git checkout --track -b F-14 origin/F-14
# switch back to master
git checkout master

# push tags
git push --tags

# create remote master branch for new repo
git push origin master