Git Crash Course: Getting Started with Git and GitHub
What you'll learn
- Creating a repository, tracking changes, and commiting changes via init, add, and commit.
- Checking state, viewing changes, discarding files, and removing files via status, diff, restore, and rm.
- Viewing commit history via log.
- Creating and checking out branches via branch and checkout.
- Stashing and merging changes via stash and merge.
- Ignoring files with .gitignore
- Creating a successful branching workflow.
- Creating and resolving merge conflicts.
- Creating a repository and submitting pull requests through GitHub.
- Cloning remote repositories via clone.
- Creating an SSH key for authentication.
- Various command line keywords including echo, mkdir, and cd.
- Have Git installed on your machine (we will also add a resource to help you install it).
Learning how to use Git is truly a necessity if you want to become a successful software developer. We made this course so that you can focus on what matters and gain the basic practical experience and knowledge to use Git and GitHub effectively. We understand the importance of hands on experience when it comes to learning Git, and this course was created with that in mind.
From the first video, we get your hands dirty in the command line whilst dropping the necessary information you need to know at the appropriate times. Utilizing this teaching style avoids overloading you while on your journey to mastering Git, ensuring that you get practical experience of the newly acquired skills immediately before learning something new.
We first start this course off by setting up some necessary Git configuration before immediately learning about a useful command to help you alongside your journey of mastering Git. We then dive immediately into creating a git repository and become familiar with the following:
Initializing a repository via init
Staging (i.e. adding) files via add
Discarding changes via restore
Project state via status
File differences via diff
Committing changes via commit
Removing files via rm
Viewing commit history via log
Creating and checking out branches via branch and checkout
Merging changes via merge
Stashing changes via stash
Cloning remote repositories via clone
Helpful Git Knowledge
The life cycle of untracked and tracked files
Creating and resolving merge conflicts
Ignoring files with .gitignore
What exactly origin means
Creating a successful branching workflow
Creating and editing a profile
SSH vs HTTPS
Creating an SSH Key for authentication
Creating and merging pull requests
Creating files via echo
Making (i.e. creating) directories via mkdir
Changing directories via cd
What tilde (i.e. ~) means
By taking this course, you will not only acquire the necessary skills to practically use Git and GitHub, but you will come out more familiar with the command line and know your way around it.
Who this course is for:
- Software developers aspiring to learn Git and GitHub.
- Software developers looking for practical Git experience.
In a society where aesthetics is becoming a leading standard, I utilize computer science to craft simple, elegant solutions to complex problems. I value user experience and design equally in relation to actual functionality. This is why I take the design of everyday things seriously in attempt to make things easier for humans to progress exponentially. The main pursuit I’m currently undertaking to assist in my endeavor to solve our problems is teaching, building software for iOS, Front End development, and UI/UX design.
Teaching is something I thoroughly enjoy because I firmly believe that knowledge should be shared at all costs. My teaching style is kept simple for the student. I am always looking for ways to improve, so I welcome to critique of my teaching from others with open arms.