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 »

Day 1 of Learning Linux & GitHub 🚀

markdown !Forem Logohttps://media2.dev.to/dynamic/image/width=65,height=,fit=scale-down,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2...

What's Inside the .git Folder?

Introduction In this article we’ll open the hood and look at the engine that powers Git – the .git folder. By the end of the article you’ll understand: How Git...