✅ Create GitHub account
✅ Generate secure access token
✅ Run automated setup script
✅ Validate everything works
Total Time: ~15 minutes
✅ Success: You should see your GitHub dashboard
Think of it as a special password for code operations:
Note: my_git_token
Expiration: 90 days
Permissions: ✅ Check repo only
ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Save temporarily:
✅ Success: Token starts with ghp_
Mac: Cmd + Space → type Terminal → Enter
curl -O https://raw.githubusercontent.com/itayshmool/dev_tools/main/setup-github.sh && chmod +x setup-github.sh && ./setup-github.sh
Press Enter
The script will ask:
"Have you created account and token?"
y → Enter
"Enter your GitHub username:"
Enter
"Enter your GitHub email:"
Enter
"Paste your Personal Access Token:"
Enter
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
Important: Must restart for MCP to activate
Cmd+Q)git config --list --global
user.name=YourGitHubUsername
user.email=your.email@example.com
credential.helper=osxkeychain
init.defaultbranch=main
✅ Git is configured correctly
git clone https://github.com/itayshmool/creators-training-2026.git
✅ Authentication is working
Cmd+Shift+P
MCP
✅ MCP integration is active
✅ 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! 🚀
Never:
Do:
→ Generate new token, run script again
→ Install Xcode Command Line Tools, run script again
→ Completely quit Cursor (Cmd+Q), reopen
→ Your setup is correct! Try the clone test
On workshop day:
No more setup required!
Your name/email are attached to all code changes
Stored in macOS Keychain, automatically retrieved when needed
Model Context Protocol lets Claude in Cursor:
This is the magic behind AI-assisted development!
Full Documentation: https://github.com/itayshmool/dev_tools
Questions? Ask your workshop facilitator!
Made with ❤️ for CDD Workshop 2026