git checkout -b [branchname] git push origin [branchname]
git remote show origin git checkout -b [localRepoName] [origin/repo]
git branch -d [local]
git push origin --delete [branchname] git remote prune origin //Gets rid of old remote branches that is still referenced locally
git remote set-url origin [https://...]
// Save work first git commit -am "Saving work" git branch my-saved-work
// Reset git fetch origin git reset --hard origin/master
git reset --hard