Introduction¶
Outside of its use within DFR, Git is probably one of if not the most critical single piece of technology for collaborative workflows. It is essentially imparative that you at least understand how to use basic Git
commands such as CHECKOUT, CLONE, COMMIT, PUSH, & PULL
, both for your collaborative efforts within DFR, and in your professional life later.
The most simple way to think of Git is as a "version manager." In essence Git allows us to create and monitor different versions of our software "automatically" while also allowing us to merge the code of an entire team into one seamless location with little hassle. As you might be able to imagine, without a resource like this, knowing where certain code is coming from, and or combining various versions of a codebase together, would be incredibly difficult.
GitHub on the other hand, unlike Git itself, is a platform that allows us to host our repositories on the Internet! It's essentially just "more complicated" cloud storage, with some very useful tools for a Git based dev cycle. Along with this, GitHub, is in essence the "pioneer" of Git based collaboration, meaning that a VERY LARGE chunk of the world's developers reside on GitHub, and as such knowing how to use the platform can be vital to your career.
Where do I begin?¶
Never used Git? Heck, you may have never even used GitHub, but that's all good! The goal of this short "lecture" on Git/Github will hopefully give you everything you need to know to get up and running making and pushing your very first commits and pull requests!
Text resources¶
Name | Description | URL |
---|---|---|
OH MY GIT! | This time in "game" form. One of my personal favorite means for teaching new / want to be developers the ropes in a method that they are likely more "used" to. | ohmygit.org |
Learn Git Branching | Another visually interactive platform for learning Git . Like OH MY GIT! this is much more tailored towards beginners to Git , and makes the learning process much more enjoyable than mindlessly reading documentation. | learngitbranching.js.org |
Pro Git book | A textbook that contains anything and everything Git . You can purchase a physical copy, or use the publically available E-Book found on the same website that you will likely be downloading the Git CLI from, git-scm.com. | git-scm.com/book/en/v2 |