Git is a distributed version control system used to track changes in source code. Here are some basic commands:
# Initialize a new Git repository git init # Clone an existing repository git clone <repository-url> # Check the status of your working directory git status # Add files to the staging area git add <file-name> # Commit changes with a message git commit -m "Your commit message"
Use git init
to start tracking changes in a new project.