git config --global user.name <username> git config --global user.email <email>
git config user.name <username> # Set new user's name git config user.email <email> # Set new user's email
git checkout -b <branch-name> # Create new branch and switch to it
git log # Show commits git show <commit-id> # Show commit changes
git remote -v # List all remote repos git remote add <name> <repo-url> # Add new remote repo git remote set-url <name> <new-url> # Change repo's URL