GitHub Setup wix.com
Automated Development Environment Configuration
What You'll Accomplish Today
✅ Create GitHub account
✅ Generate secure access token
✅ Run automated setup script
✅ Validate everything works
Total Time: ~15 minutes
Part 1: Create GitHub Account
Step 1 of 4 | Time: ~5 minutes
- sign with goole with your WIX account
- username should be based on WIX account (will be public) - remember this user name or copy it to notes , you will need it later
- Complete the captcha (if needed)
- Verify your email (check inbox) (if needed)
✅ Success: You should see your GitHub dashboard
Part 2: Generate Access Token
Step 2 of 4 | Time: ~5 minutes
What is a Personal Access Token?
Think of it as a special password for code operations:
- ✅ Works only for git/code (not website login)
- ✅ Can expire (security)
- ✅ Can be regenerated if compromised
- ✅ Specific permissions you control
Generate Your Token
Navigate to Token Settings
- Click profile picture (top-right)
- Select "Settings"
- Scroll to "Developer settings" (bottom left)
- Click "Personal access tokens"
- Select "Tokens (classic)"
Configure Your Token
Click "Generate new token (classic)"
Note: my_git_token
Expiration: 90 days
Permissions: ✅ Check repo only
- This gives full repository access
- Don't check anything else
Save Your Token
⚠️ CRITICAL STEP
- Click "Generate token"
-
COPY IT IMMEDIATELY
- Looks like:
ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - You'll NEVER see it again!
- Looks like:
Save temporarily:
- Paste in Notes app
- You'll need it in next step
- Delete after setup completes
✅ Success: Token starts with ghp_
Part 3: Run Automation Script
Step 3 of 4 | Time: ~2 minutes
Open Terminal
Mac: Cmd + Space → type Terminal → Enter
Download & Run Script
Copy and paste this command:
curl -O https://raw.githubusercontent.com/itayshmool/dev_tools/main/setup-github.sh && chmod +x setup-github.sh && ./setup-github.sh
Press Enter
Answer 3 Questions
The script will ask:
-
"Have you created account and token?"
- Type:
y→Enter
- Type:
-
"Enter your GitHub username:"
- Type your username →
Enter
- Type your username →
-
"Enter your GitHub email:"
- Type your email →
Enter
- Type your email →
-
"Paste your Personal Access Token:"
- Paste token (won't show) →
Enter
- Paste token (won't show) →
Watch the Magic ✨
The script automatically:
✅ Installs/verifies Git
✅ Configures your identity
✅ Tests GitHub authentication
✅ Stores token securely (macOS Keychain)
✅ Creates test repository
✅ Pushes to verify everything works
✅ Deletes test repository
✅ Configures MCP for Cursor
Part 4: Validation
Step 4 of 4 | Time: ~3 minutes
1. Restart Cursor
Important: Must restart for MCP to activate
- Quit Cursor completely (
Cmd+Q) - Wait 2 seconds
- Reopen Cursor
Verify Git Configuration
In Terminal, run:
git config --list --global
You should see:
user.name=YourGitHubUsername
user.email=your.email@example.com
credential.helper=osxkeychain
init.defaultbranch=main
✅ Git is configured correctly
Test Repository Access
Clone the workshop repository:
git clone https://github.com/itayshmool/creators-training-2026.git
What should happen:
- ✅ Downloads without asking for password
- ✅ Shows "Cloning into..."
- ✅ Completes successfully
✅ Authentication is working
Verify MCP Integration
In Cursor:
- Press
Cmd+Shift+P - Type:
MCP - Look for MCP-related commands
- Find "GitHub" in MCP servers list
✅ MCP integration is active
🎉 You're Done!
What You've Accomplished:
✅ GitHub account created and verified
✅ Personal Access Token generated
✅ Git installed and configured
✅ GitHub authentication working
✅ Token securely stored (not plain text!)
✅ MCP integration configured
✅ Everything validated and tested
You're ready for the workshop! 🚀
Security Reminders
Your token is stored securely in macOS Keychain
Never:
- ❌ Share your token with anyone
- ❌ Commit your token to code
- ❌ Post your token online
Do:
- ✅ Regenerate if compromised
- ✅ Set expiration dates
- ✅ Use minimal permissions
Quick Troubleshooting
"Authentication failed"
→ Generate new token, run script again
"Git not found"
→ Install Xcode Command Line Tools, run script again
"MCP not showing"
→ Completely quit Cursor (Cmd+Q), reopen
"Push failed" (but auth worked)
→ Your setup is correct! Try the clone test
What's Next?
On workshop day:
- Clone the workshop repository ✅ (you know how!)
- Open in Cursor
- Start building with AI assistance
- Deploy live to the internet
No more setup required!
Understanding What Happened
Git Configuration
Your name/email are attached to all code changes
Token Storage
Stored in macOS Keychain, automatically retrieved when needed
MCP Integration
Model Context Protocol lets Claude in Cursor:
- Read your code
- Create files
- Push changes to GitHub
This is the magic behind AI-assisted development!
Resources
Full Documentation: https://github.com/itayshmool/dev_tools
Questions? Ask your workshop facilitator!
Made with ❤️ for CDD Workshop 2026
GitHub Setup wix.com
By Itay Shmool
GitHub Setup wix.com
Discover the streamlined process for setting up your GitHub account and automating your development environment. Engage with simple steps to enhance your productivity and unlock efficient coding practices in just a few minutes!
- 97