Commands
https://gitexplorer.com/
Git Cheatsheet
GitHub Cheatsheet
Visual reference
My collection of commandsWorkflow
⭐ Syncing
Understanding the GitHub flow
Simple workflowGitLab workflow⭐ Git flow
⭐ Gitflow Workflow
Tutorials
Great tutorial by Atlassian
Solving problems

Source: http://justinhileman.info/article/git-pretty/git-pretty.png
- If work has been done on the wrong branch:
git stash
git checkout branch123
git stash applyOnce everything is back to normal, to clean the stash, remove it from the stash list:
git stash list
git stash drop <stash_name>Source: https://stackoverflow.com/questions/5964118/git-working-on-wrong-branch-how-to-copy-changes-to-existing-topic-branch