Changing a remote's URL
git remote set-url origin NEW_REMOTE_URL
Clone single branch from repo
git clone -b BRANCH_NAME --single-branch REPO_URL
Untrack files (but don't delete them)
git rm --cached <file>
Squash local latests commits into one (DON'T DO IT for already shared commits)
git rebase -i HEAD~3