Git & GitHub Guide#
1 Installation & Initial Configuration#
1.1 Installation#
MacOS (Requires Homebrew)#
brew install gitLinux (Debian/Ubuntu)#
apt-get install gitVerify Version#
git --version1.2 Global Configuration#
# Set Identity
git config --global user.name "Marc Ouellet"
git config --global user.email "marc.ouellet@gmail.com"
# Set Default Branch to match GitHub (main)
git config --global init.defaultBranch main
# Verify Settings
git config --global user.name
git config --global user.email
# Common Alias
git config --global alias.s "status"2 The Collaborative Workflow#
To work simultaneously on the same project without overwriting each other, you should follow a specific cycle for every work session. This process ensures that everyone stays in sync while moving one step at a time.