As we all wait for the imminent release of iOS 11 and Xcode 9, we thought this would be an excellent time to focus on tools and skills that don’t run on Apple’s update schedule. Today, we’re excited to announce the release of a brand new course: Beginning Git.
Source control is one of the most important tools that software developers use in their daily workflow, and is one of the few tools that is platform-agnostic. Git is currently one of the most popular source control solutions, and offers a comprehensive set of features.
This 13-part Beginning Git video course is designed to take you from knowing very little about Git all the way through to being able to experience the benefits of source control every single day. The course is focused on real-world processes, and as such will cover everything from cloning and creating repos, through committing and ignoring files, to managing remotes and pull requests.
Even if Git isn’t new to you, there is something for you to learn. Let’s take a look at what’s inside:
Video 1: Introduction (Free!) Even if you’ve never used Git or Subversion before, you’ve probably practiced version control. Discover what version control is, and how exactly Git can help you with your source code.
Video 2: Cloning a Repo
One of the ways you might start out with Git is by creating your own copy of somebody else’s repository. Discover how to clone a remote repo to your local machine, and what constitutes “forking” a repository.
Video 3: Creating a Repo
If you are starting a new project, and want to use Git for source control, you first need to create a new repository. Learn how you can get started initialising a new Git repository, and then look at some conventions that all code repos should adopt.
Video 4: Creating a Remote
Code, like team sports, is meant to be shared with other people. Discover how you can create a remote for your new Git repo, and push it to GitHub for all your friends to enjoy.
Video 5: Committing Changes
A Git repo is made up of a sequence of commits—each representing the state of your code at a point in time. Discover how to create these commits to track the changes you make in your code.
Video 6: The Staging Area (Free!)
Before you can create a Git commit, you have to use the “add” command. What does it do? Discover how to use the staging area to great effect through the interactive
git add command.
Video 7: Ignoring Files
Sometimes, there are things that you really don’t want to store in your source code repository. Whether it be the diary of your teenage self, or build artefacts, you can tell Git to ignore them via the gitignore file.
Video 8: Viewing History
There’s very little point in creating a nice history of your source code if you can’t explore it. In this video you’ll discover the versatility of the
git log command—displaying branches, graphs and even filtering the history.
Video 9: Branching
The real power in Git comes from its branching and merging model. This allows you to work on multiple things simultaneously. Discover how to manage branches, and exactly what they are in this next video.
Video 10: Merging
Branches in Git without merging would be like basketball without the hoop—fun, sure, but with very little point. In this video you’ll learn how you can use merging to combine the work on multiple branches back into one.
Video 11: Syncing with a Remote
Now that you’ve been working hard on your local copy of the Git repository, you want to know how you can share this with your friends. See how you can share through using remotes, and how you can use multiple remotes at the same time.
Video 12: Pull Requests
GitHub introduced the concept of a Pull Request, which is essentially a managed merge with a large amount of additional metadata. Pull requests are key to a GitHub-based workflow, so you’ll discover how to use them in this video.
Video 13: Conclusion
The Beginning Git video course took you from knowing nothing about Git, all the way to completing everything you need to know to use it in your daily development life. But wait… there’s more.
Where To Go From Here?
Want to check out the course? You can watch two of the videos for free:
- Video 1: Introduction is available today.
- Video 6: The Staging Area will be released next week.
The rest of the course is for raywenderlich.com subscribers only. Here’s how you can get access:
- If you are a raywenderlich.com subscriber: You can access the first two parts of Beginning Git today, and the rest will be coming out over the next two weeks.
- If you are not a subscriber yet: What are you waiting for? Subscribe now to get access to our new Beginning Git course and our entire catalog of over 500 videos.
There’s much more in store for raywenderlich.com subscribers – if you’re curious, you can check out our full schedule of upcoming courses.
I hope you enjoy our new course, and stay tuned for many more new courses and updates to come! :]