use git in command line code example
Example 1: git from command line
git status
git add . (for al your files)
git add name to add just certain files
git commit -m "message"
git push
Example 2: how to login to git from terminal
git config --global user.name "your_username"
Example 3: how to login to git from terminal
git config --global user.email "[email protected]"