Skip to content

Instantly share code, notes, and snippets.

View nsaadig16's full-sized avatar

Naïm nsaadig16

View GitHub Profile
@nsaadig16
nsaadig16 / windows_git.md
Last active October 18, 2025 09:21
Setting up Git in Windows

Setting up Git in Windows

Installing Git

Go to the Git website and install the version according to your system, under the Standalone Installer section. When downloaded, just run the executable.

Begginer-friendly set-ups

These are mostly already set up by the Git installer, except for the branch name. When using the Windows Git installer, be sure to select the second option, named "Override the default branch name for new repositories" and leave main as the default branch name.

@nsaadig16
nsaadig16 / linux_git.md
Last active October 18, 2025 09:16
Setting up Git in Linux

Setting up Git in Linux

Installing Git (debian/ubuntu)

sudo apt update -y && sudo apt install git -y

Defining username and email