login to git to git commit code example Example: how to login to git from terminal git config --global user.name "your_username"