
Explore Git basics, a distributed version control system, and learn to set up Git locally, create repositories, branch and merge, and push code to GitHub and pull requests.
Install and configure Git on your computer to enable commits by setting your user name and email, which Git stores with every commit to a repository.
Learn to create a local Git repository for your project, commit changes, and manage the repository, working directory, and staging area; explore the first commit, history, and ignoring files.
Identify the three main areas of Git: the repository, the staging area, and the working directory—and learn how staging controls what goes into the next commit.
Discover how Git treats commits as snapshots of all your files, how each commit updates the main branch, and how a 40-character hash lets you check out any past state.
Merge a feature/AddTwitterHandle branch into the main branch using git merge, switch branches, and verify the updated history with git log and git status.
Learn to manage merge conflicts with git by creating feature branches, merging into main, resolving conflicts in readme.txt, and recording the results with merge commits and branch cleanup.
Create and work on a feature in a branch, merge it back to the main branch, and resolve merge conflicts to develop in isolation within your local repository.
Push a branch from your local repository to a remote GitHub repository, and learn to create, clone, push, and pull changes, including how fetch and merge happen behind the scenes.
Pull changes from the remote repository into your local branch with git pull, using origin and main when needed, and observe the updated readme via logs.
Learn how to use pull requests to merge feature branches into the main branch, create and merge pull requests on GitHub, and fork repositories to contribute elsewhere.
Explore next steps after learning Git by using both the command line and GUI clients, and visit git-scm.com to try GUI tools for branch history.
Git is one of the most popular version control systems. This course will teach you how to work with Git to track and store the changes of your source code.
First, you will learn the bascis about Git. You will learn what version control systems are and how local, centralized, and distributed version control systems work.
After this, you will learn how to set up Git on your machine. You'll learn how to configure Git, so that your name and email are stored with every commit.
Next, you will learn how to work with local repositories. You will use the commandline to create a repository on your machine and I will show you how to stage and commit changes.
After this, you will learn how to branch and merge your code to work on specific features of your project. You will also learn how to handle merge conflicts that can happen when multiple developers are working on the same code base.
Finally, you will learn how to push your code to a remote repository on GitHub, how to clone an existing repository from GitHub, and how to use pull requests to collaborate with other developers.
After this course, you will have the skills and knowledge needed to use Git successfully in your projects.