See Configure Git in README
Other configuration commands
# Show settings and location of all Git config files (system, global, local)
git config --list --show-origin
# Get the current status of the repository
git status
# Stage all the changed files
git add .
# Create a commit
git commit -m "Adds all the files"
# Do some more work and repeat...
# Show changes in files
git diff
# Show changes in specific files
git diff [filename]
# Show history of commits
git log
# Get information about updates on the remote repository
git fetch
# Download the updates from the remote repo
git pull
# <after you have made edits to your local>
# Push your commits to the remote repo
git push
# See your current branch
git status
# Create a branch
git branch [branch-name]
# Switch to a branch and update the files in the working directory
git switch -c [branch-name]