WEEK 1 ASSIGNMENT.

Published: (January 14, 2026 at 12:07 PM EST)
1 min read
Source: Dev.to

Source: Dev.to

Git

Git is a version control system used for code collaboration, tracking code changes and who made them.

Common Git commands

git --version

Checks whether Git is installed and shows the installed version.

git config --user.name "yourname"

Sets the author’s name linked to commits.

git config --user.email "youremail"

Sets the email address linked to commits.

git config --list

Shows all Git configuration settings currently applied to the system.

ls ~/.ssh

Lists the contents of the .ssh directory in the home folder.

ssh-keygen -t ed25519 -C "youremail"

Generates a private and public SSH key pair.

eval "$(ssh-agent -s)"

Starts the SSH agent and sets the necessary environment variables in the current terminal session.

ssh-add ~/.ssh/id_ed25519

Adds the private key to the SSH agent so Git can use it automatically without asking for the passphrase each time.

git config --unset 

Removes a specific Git configuration setting.

Back to Blog

Related posts

Read more »

Introduction to Gitbash and Github

Definitions - Git is a widely used, free, and open‑source system designed to handle projects of all sizes. It enables developers to track changes in code and f...

Introduction to Git and Github

Why version control is important - Every change is recorded - You can go back to older versions of your code - You can see who made a change and when - Multipl...