Git
A practical DevOps definition, with an example you can use.
A distributed version-control system that records changes to files and supports branches, history, and collaboration.
An example you can picture
You create a branch to add a health endpoint, commit the changes, and ask a teammate to review them before merging. The history helps explain when the behaviour changed.
The distinction that matters
Git is the version-control tool. GitHub is one service that hosts repositories and adds features such as pull requests and Actions.
Put it into practice
Create a branch in a practice repository, change one file, inspect the diff, and make a descriptive commit. Explain what the branch represents and how another person could review the change.
Connect the ideas: pull request and ci cd. For the bigger picture, read the related learning guide.
Reference
Read the primary documentation for the underlying concept and further detail.
