Basics
clone
-
git clone <url>clone an arbitrary repository
add
-
git add .add all files to stage
commit
-
git commit -m "some commit message"commit staged changes with inline commit message
branches
-
git checkout <branch-name>checkout the branch with given name -
git checkout -b <branch-name>create and checkout a new branch with given name
remotes
-
git push -
git fetch -
git pull