Github official guide.
Github cheetsheet can be seen in here.
An online source to learn git
Here are some commonly used associated skills.
- Merge 2 commit1 git rebase --interactive HEAD~2 then pick or squash the commit, git push --forceto keep only 1 commit.