Test yourself under real exam conditions: 50 timed questions, 60 on the clock, pass mark 70%%. Instant score with a full review of everything you got wrong. Free — no account needed.
Exam details
Git is a distributed version control system that tracks changes in source code during software development, allowing multiple developers to collaborate efficiently.
It stores snapshots of files over time, enabling branching, merging, and reverting changes.
Use the command git init in the root directory of your project.
This creates a hidden .git subdirectory containing all repository data.
git clone do?git clone <url> creates a copy of an existing remote repository on your local machine.
It includes all branches, tags, and history.
git add?git add <file> stages changes in the working directory for the next commit.
You can stage all changes with git add . or specific files.
git commit accomplish?git commit -m "message" saves the staged changes to the local repository as a snapshot.
The commit message should describe the changes concisely.