###Add existing Repository to Git
git init
git add .
git commit -m "Initial commit"
git remote add origin <project url>
git push -u origin master
###See what tracking branches you have set up
$ git branch -vv
###Delete remote branch
$ git push origin --delete <branchName>
###If you already have a local branch and want to set it to a remote branch
$ git branch -u origin/branch-name
$ git checkout -b test
git checkout <branchName>