DEV Community

Cover image for Github setup flow
A
A

Posted on

Github setup flow

10/01/25
These last few weeks we have been learning about github and how to use it.
It is a bit overwhelming since there are so many different choices on how to use it with so many different apps and tools. Here are a few things I found useful to get started on github.

Installation-
Git – deasktop :

$Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
$iwr -useb get.scoop.sh | iex
$scoop install git
$git –version
$git config 
Enter fullscreen mode Exit fullscreen mode

Customizing shell display:

"https://ohmyposh.dev/”
“nutshell.sh”

$scoop install nu
Enter fullscreen mode Exit fullscreen mode

Verify the installation:

$git --version 
Enter fullscreen mode Exit fullscreen mode

Configure your Git:

$git config --global user.name "Your Name"
$git config --global user.email "Your@email"
Enter fullscreen mode Exit fullscreen mode

The config setup is so useful to track who does what and just to keep things organized in group projects.

How can you see what is in your Staging Area?

$git status 
Enter fullscreen mode Exit fullscreen mode

How do you add files to your Staging Area?

$git add #filename# 
$git add.
Enter fullscreen mode Exit fullscreen mode

A very important thing is to always make a ".gitignore" file. This helps keep things private such as:

password/*, API- keys, notes and so on.  
Enter fullscreen mode Exit fullscreen mode

Interactive:

$git gui
Enter fullscreen mode Exit fullscreen mode

image

cli.github.com

Usful apps/ tools to use with github:

git student pack
gitkraken
gitlab
gistpad
draw.io
marp extention
Nushell - shell colors
wezterm - shell colors
gprm or prompt - to help make your git page pretty

Top comments (0)