Git & Version Control
beginnerTopic 4 of 11 in Cloud & DevOps
What it is
Git is a version control system that tracks changes to your code over time. GitHub is a platform built on Git that lets you store code online, collaborate with others, and manage projects.
Why cloud & devops developers need it
Every professional team uses Git. It lets you experiment safely (branches), undo mistakes (revert), work with others without overwriting each other's code (merge), and keep a history of every change.
What to learn
Initializing a repository and tracking files
Staging, committing, and writing good commit messages
Branching and merging strategies
Resolving merge conflicts
Working with remotes: push, pull, fetch
Pull requests and code review workflows
Using .gitignore effectively
GitHub features: Issues, Projects, Actions (basics)
Practice project
Collaborative Mini-Site
Create a repo on GitHub, add a simple HTML/CSS page, then practice the full workflow: create a feature branch, make changes, open a pull request, review it yourself, and merge.