Skip to content

Git

Learning Resources

Here are some good learning resources for Git:

Basic Commands

Here are some basic Git commands to get you started:

  • git init: Initialize a new Git repository.
  • git clone <url>: Clone a repository from a URL.
  • git checkout -b <branch>: Create a new branch and switch to it.
  • git add <file>: Add a file to the staging area.
  • git commit -m "message": Commit changes to the repository.
  • git push: Push changes to a remote repository.

Visual Git Tools

The CLI can be intimidating for beginners and visual tools can often even be more helpful. Here are some popular visual Git tools: