Use the Git Bash.
ls
: list directories and filescd
: acces directories and files
Use the terminal directly
git config --global user.name "Your Name"
: set usernamegit config --global user.email "Your Email"
:set user email
git init
: Go to right directory firstgit clone <URL>
: clone a repository from a URL to this directorygit add <file>
: add a filegit commit -m "Message"
: commitgit push origin master
: push to remote repositorygit pull origin master
: pull from remote repository
git remote -v
: see the remotesgit remote add origin <URL>
: set the origin remote