# <project\.git\config
git config --edit
# C:\Users\%username%\.gitconfig
git config --global --edit
# C:\Program Files\Git\etc\gitconfig
git config --system --edit
git remote -v
git remote prune origin
git remote set-url origin <url>
git merge --abort
git checkout tags/<tag> -b <branch>
# delete remotely
git push --delete origin v2.0.1
# delete locally
git tag --delete v2.0.1
# First delete remote tags
git tag -l | xargs git push --delete origin
# Then delete local tags
git tag | xargs git tag -d
https://gist.github.com/kayagultekin/557975964ae26b99b46be3082ee828cf
git branch -d <branch_name>
git push <remote_name> --delete <branch_name>
git remote add origin https://github.com/gittower/example.git
git push -u origin --all