A repository is a folder Git watches. A commit is a saved snapshot with a message explaining what changed.
git config --global user.name "Your Name" git config --global user.email "you@example.com" mkdir my-site && cd my-site git init echo "# My site" > README.md git add README.md git commit -m "Add README" git log --oneline