- Git is responsible for the version control, it's a software for commit, merge repos
- Github is a company, who provide GUI built upon the git software
- Github track the history of commits
These are changes made on a repos
mkdir my_repo && cd my_repo
git init intializing a git repo
git add .
git commit -m "message"
git checkout -b new_branch to create and switch a new branch
git checkout master to checkout to master branch
git merge master to put the file in branch to the master
git remote add origin https://GitHub/repo
git push -u origin master push to the upstream in the master branch
git pull origin master to get the latest files on the remote repo