To add an existing file to version control.
git add "filename"
To commit a change with message “message”
git commit -m "message"
To create a branch
git checkout -b "branch-name"
To switch between branches
git checkout "branch name"
To see current active branch and list of existing branches
To push changes back to the server
git push origin "branchname"
To update a branch
git pull origin "branchname"
That’s it for now. It is enough to begin to work with GitHub. The list of commands will grow with my experience.