Get your team started on a custom learning journey today!
Our Boulder, CO-based learning experts are ready to help!
Get your team started on a custom learning journey today!
Our Boulder, CO-based learning experts are ready to help!
Follow us on LinkedIn for our latest data and tips!
Git is an extremely powerful and popular version control system; however, Git’s command line syntax is far from self-explanatory.
Git favors power and flexibility over usability. Its 150+ commands are a mash-up of metaphors and verbs (fetch, clone, pull, commit, rebase, stash, checkout, etc.) – you can’t apply your previous knowledge of those words to make sense of how Git works. The architecture and interface are mostly the same thing in Git, and Git’s abstraction is leaky.
But anytime a popular program is tricky to learn, it spawns a number of great blogs and cheat sheets to help people make sense of it. We’re going to share some of the best visuals for making sense of Git.
The first visual comes from a developer named Patrick Zahnd. He refined and added to a visual called Git Data Transport commands, a diagram that portrays Git commands and how they move files left and right between the different storage and staging areas.
This diagram shows how there are five different areas where files can live while working with Git. The model here is that there are a dozen or so primary commands to move files between the five areas. These are the main things you need to know how to do with Git.
Source: https://www.patrickzahnd.ch/wp-content/uploads/2014/02/git-transport-v1.pdf
Developer Matt Harrison created a diagram that explains Git in terms of levels, and flows between those levels. This visual is especially useful in showing how files are moved upstream and downstream; it also shows a very basic idea of how branching works, and which commands are used in branching.
Source: https://github.com/mattharrison/Git-Supervisual-Cheatsheet/blob/master/gitcheat.png
The third helpful diagram for understanding Git commands comes from a developer named Jan Krueger. His Git cheat sheet was inspired by Zack Rusin’s cheat sheet.
Jan’s and Zach’s diagrams focus on grouping commands together into 8 categories or verbs. They then explain, in more depth, how the commands actually look for most of the verbs. The model this diagram conveys is that there 8 primary actions involved in using Git; within those 8 primary actions, there are different specific Git commands for working with the files.
Source: https://jan-krueger.net/wordpress/wp-content/uploads/2007/09/git-cheat-sheet.pdf
Git might not be the most user-friendly program, but it is extremely powerful once you know how to use it. Hopefully, some of these models and visuals will help you either learn Git or get more use out of it.
Customized Technical Learning Solutions to Help Attract and Retain Talented Developers
Let DI help you design solutions to onboard, upskill or reskill your software development organization. Fully customized. 100% guaranteed.
DevelopIntelligence leads technical and software development learning programs for Fortune 500 companies. We provide learning solutions for hundreds of thousands of engineers for over 250 global brands.
“I appreciated the instructor’s technique of writing live code examples rather than using fixed slide decks to present the material.”
VMwareDevelopIntelligence has been in the technical/software development learning and training industry for nearly 20 years. We’ve provided learning solutions to more than 48,000 engineers, across 220 organizations worldwide.
Thank you for everyone who joined us this past year to hear about our proven methods of attracting and retaining tech talent.
© 2013 - 2022 DevelopIntelligence LLC - Privacy Policy
Let's review your current tech training programs and we'll help you baseline your success against some of our big industry partners. In this 30-minute meeting, we'll share our data/insights on what's working and what's not.
Training Journal sat down with our CEO for his thoughts on what’s working, and what’s not working.