Learn about the basics of Git and get comfortable working with Git, as well as GitHub Star and Microsoft MVP, on your own projects.
Overview
Syllabus
Introduction
- Get started with Git
- What you should know
- Git for version control
- Git to share code
- Git to collaborate
- Open source
- Use Git locally
- Use a Git provider
- Distributed version control
- How to start working with Git
- Install Git on Windows
- Install Git on Linux
- Install Git on macOS
- Git GUI clients
- Optional: Install Visual Studio Code
- Configure Git
- Set up a remote repository
- Clone the remote repository
- Create a file and stage it
- Commit a file
- Push the file to the remote repository
- The .git folder
- Initialize a repository locally and sync it to the remote repository
- Challenge: Push your first code
- Solution: Push your first code
- Git status
- Edit a file and view changes
- Make use of the GUI of Visual Studio Code
- View commit history
- Delete files
- Rename files
- Working with folders
- Undo your changes
- Look back in Git history
- Revert to an old state
- Challenge: Make a change and revert
- Solution: Make a change and revert
- Ignoring files
- Git branches
- Git commit messages
- Getting out of trouble
- Next steps
Taught by
Kevin Skoglund