how to login git command line code example Example: how to login to git from terminal git config --global user.email "[email protected]"