GitHub Setup
Before you can access any HackerOps labs, you need to be a member of our GitHub organization. This guide will walk you through the setup process.
Caution
Required: You must complete this setup before accessing any lab content. All labs are protected and require organization membership.
Step 1: Create a GitHub Account
If you donโt already have a GitHub account:
-
Sign Up - Go to github.com and click โSign upโ
-
Choose Username - Select a professional username that youโd be comfortable sharing with future employers
-
Account Details - Use your real email address and complete the verification process
-
Verify Email - Check your email and click the verification link to activate your account
Tip
Pro Tip: Choose a username youโd be comfortable sharing with future employers. Your GitHub profile is part of your professional portfolio!
Step 2: Join the HackerOps Organization
To get access to the labs and protected content:
-
Contact Instructor - Send your GitHub username to your instructor to request organization access
-
Accept Invitation - Check your email and GitHub notifications for the organization invitation and accept it
-
Make Membership Public (Optional but recommended) - Go to github.com/orgs/hacker-ops-class/people, find your username, and click โPublicโ
Step 3: Configure Your Profile
Make your GitHub profile professional:
Profile Setup
- Add a profile photo (professional headshot recommended)
- Add your real name in the โNameโ field
- Add a bio mentioning youโre a HackerOps student
- Add your location (city/state)
- Add your personal website (if you have one)
Security Settings
-
Enable Two-Factor Authentication (2FA):
- Go to Settings โ Password and authentication
- Click โEnable two-factor authenticationโ
- Use an authenticator app (Google Authenticator, Authy, etc.)
-
Create a Personal Access Token (for CLI access):
- Go to Settings โ Developer settings โ Personal access tokens โ Tokens (classic)
- Click โGenerate new token (classic)โ
- Set expiration to 90 days
- Select scopes:
repo
,read:org
,user:email
- Save this token securely - youโll need it for git operations
Step 4: Install Git
-
Download Git - Get Git for Windows from the official website
-
Install with Defaults - Run the installer and accept the default settings
-
Verify Installation - Open Git Bash and run
git --version
to confirm itโs working
# Using Homebrew (recommended)brew install git
# Or download from official site:# https://git-scm.com/download/mac
# Verify installationgit --version
# Ubuntu/Debiansudo apt update && sudo apt install git
# CentOS/RHEL/Fedorasudo yum install git# or for newer versions:sudo dnf install git
# Verify installationgit --version
Step 5: Configure Git
Set up your global Git configuration:
# Set your name (use your real name)git config --global user.name "Your Full Name"
# Set your email (use your GitHub email)git config --global user.email "your.email@example.com"
# Set default branch namegit config --global init.defaultBranch main
# Improve git outputgit config --global color.ui auto
Step 6: Test Your Access
Verify everything is working:
-
Test Organization Access - Visit github.com/hacker-ops-class and verify you can see the organization repositories
-
Test Platform Authentication - Try signing in to this platform using the โSign In with GitHubโ button and verify you have access to protected lab content
-
Test Git Operations - Clone a test repository with
git clone https://github.com/hacker-ops-class/lab1.git
and verify it works without errors
Tip
Success! If you can see lab repositories and sign in to the platform, youโre ready to start your HackerOps journey!
Troubleshooting
Canโt see the organization?
- Make sure you accepted the invitation email
- Check your GitHub notifications
- Contact your instructor to resend the invitation
Sign-in not working?
- Ensure youโre a member of the
hacker-ops-class
organization - Try signing out and back in to GitHub first
- Clear your browser cache and try again
Git authentication issues?
- Use your Personal Access Token instead of your password
- For HTTPS URLs, enter your token when prompted for a password
- Consider setting up SSH keys for easier authentication
Next Steps
Now that your GitHub access is configured:
- Set up your development environment - Install VS Code and essential tools
- Start Lab 1 - Deploy your first DigitalOcean virtual machine
- Explore the course structure - Understand the learning path
Info
Remember: Keep your GitHub profile active throughout the course. Employers often check GitHub activity when hiring developers and security professionals!