This guide will help you set up the Code Intelligence Toolkit as its own Git repository and push it to GitHub/GitLab.
- Git installed on your system
- GitHub/GitLab account
- SSH keys or HTTPS credentials configured
Navigate to the toolkit directory and initialize it as a Git repository:
cd code-intelligence-toolkit
git initAdd all files and make the initial commit:
# Add all files (respecting .gitignore)
git add .
# Create initial commit
git commit -m "Initial commit: Code Intelligence Toolkit v1.0.0
- 100+ enterprise-grade Python tools for code analysis and refactoring
- Support for Python, Java, JavaScript, and more
- SafeGIT integration for git safety
- Safe File Manager for atomic file operations
- Comprehensive documentation and examples
- All files include MPL 2.0 license headers
Co-Authored-By: Claude <noreply@anthropic.com>"- Go to https://github.com/new
- Repository name:
code-intelligence-toolkit - Description: "Enterprise-grade tools for code analysis, refactoring, and development automation"
- Make it Public (for open source) or Private
- DON'T initialize with README, .gitignore, or license (we already have them)
- Click "Create repository"
- Go to https://gitlab.com/projects/new
- Project name:
code-intelligence-toolkit - Project slug:
code-intelligence-toolkit - Visibility: Public or Private
- DON'T initialize with README
- Click "Create project"
After creating the remote repository, connect your local repo:
# Using SSH (recommended)
git remote add origin git@github.com:YOUR_USERNAME/code-intelligence-toolkit.git
# OR using HTTPS
git remote add origin https://github.com/YOUR_USERNAME/code-intelligence-toolkit.git# Using SSH (recommended)
git remote add origin git@gitlab.com:YOUR_USERNAME/code-intelligence-toolkit.git
# OR using HTTPS
git remote add origin https://gitlab.com/YOUR_USERNAME/code-intelligence-toolkit.gitPush your code to the remote repository:
# Push main branch and set upstream
git push -u origin main
# If your default branch is 'master':
git push -u origin masterTag your first release:
# Create annotated tag
git tag -a v1.0.0 -m "Release v1.0.0: Initial public release"
# Push tags
git push origin --tags- Go to Settings → General
- Add topics:
python,code-analysis,refactoring,developer-tools,ast,git-safety - Go to Settings → Pages (if you want GitHub Pages documentation)
Enterprise-grade toolkit with 100+ Python tools for code analysis, safe refactoring, and development automation. Features AST-based navigation, SafeGIT integration, atomic file operations, and multi-language support.
Protect your main branch:
- Go to Settings → Branches
- Add rule for
main(ormaster) - Enable:
- Require pull request reviews
- Dismiss stale pull request approvals
- Require status checks to pass
Add these badges to the top of your README.md:


Your Code Intelligence Toolkit is now available as a standalone repository!
- Share the repository URL with your team
- Add collaborators if needed
- Set up CI/CD workflows
- Create issues for future enhancements
- Accept pull requests from contributors
- GitHub:
https://github.com/YOUR_USERNAME/code-intelligence-toolkit - GitLab:
https://gitlab.com/YOUR_USERNAME/code-intelligence-toolkit
Remember to use SafeGIT for all git operations to prevent accidental data loss:
./run_any_python_tool.sh safegit.py [command]