Version Control with Git and Github
Learn about git – the most used version control system today and use it to keep a clean history of your projects, collaborate with your team or create your own online portfolio with this powerful tool!
This title is part of the Full-Stack Web Development Mini-Degree
Developing your own application takes time and sometimes things go wrong. Maybe you accidentally broke something that was working perfectly before. Imagine if there was no way to recover your previous work and you had to spend valuable time writing it from scratch. Or maybe your team mate overwrote that one piece of code you spent days getting it right. The concept of version control was invented to aid us in this process, to help you keep a history of your file changes and easily share and contribute your work with others.
Git is the most used version control systems today, usually used along with Github – a website where developers store their projects, save important information and collaborate in both closed and open source projects.
What you’ll learn
- Installing and configuring git – the course offers instructions for all major OS – Windows, Mac and Linux
- Basics of Version Control Systems
- How git stores the files and their change history and how it is different than other version control systems
- Understand the differences between the possible states of a file – modified, staged, commited
- What are the git states and what each of them means – git directory, working directory and staging area
- Repositories – what they are, how to create one or have a local copy on your computer
- Commiting to a repository
- Good practices on writing commit messages – keep your history clean and relevant
- Undoing changes or mistakes to a commited files – restoring a previous state or updating your file is fast and easy
- User actions in git – push, pull, commit
- Understand the concept of branches in Git – what is the master branch and how to use branches to implement new features or customizing your existing code for a specific client
- Tackling conflicts when merging different branches – how to use merge tools
- Using Github to store your projects – create a repository on github and store your project online!
- What is the .gitignore file and what you can use it for
- Using the power of git for team repositories – create pull requests and understand how collaborating on the same project works
- Using github to showcase your projects – create your own portfolio and impress prospective employers and clients
About the Full-Stack Web Development Mini-Degree
- Basic programming skills