# GitGot

> Interactive Python tool for searching public GitHub code and gists for secrets, with feedback to filter out noise.

Source: https://osinttools.io/tools/gitgot/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** Domain, Name
- **Category:** Infrastructure and domains
- **Pricing:** Open source (Free and open source (LGPL-3.0).)
- **Footprint:** passive (does not contact the target)
- **Account required:** yes, for full results
- **API:** no public API
- **Platforms:** Python CLI · Docker
- **Website:** https://github.com/BishopFox/GitGot
- **GitHub:** BishopFox/GitGot, 1,577 stars · Python · LGPL-3.0 · last commit 2024-03-07 · dormant (no commit on the default branch in 18 months)
- **Listed:** Nov 23
- **Last verified by an editor:** Nov 23, 2026

## What it does

GitGot, from Bishop Fox, runs a query through GitHub's code search and lets you page through the results, applying regex checks for secrets. As you review, you can ignore results by repository, user, filename or fuzzy-matched content, and the tool prunes similar results.

Security teams use it to search for an organization's domain or name across public GitHub code and gists. Sessions and blocklists can be saved and reused for related queries, and it also works against self-hosted GitHub instances.

Footprint is passive: it reads its own index or third-party records and does not contact the target. An account is needed for full results. There is no public API.

## Features

- GitHub code and gist search
- Regex checks for secrets
- Fuzzy-hash and string blocklists
- Save and resume sessions
- Self-hosted GitHub support
- Docker wrapper

## Pros

- Human review cuts down noisy results
- Reusable blocklists across queries
- Only reads public GitHub data

## Cons

- It has had no code changes since March 2024 and may no longer work
- Needs a GitHub API token and the ssdeep library
- Results must be reviewed by hand; handle any found credentials responsibly

## When to use it

- Use it when checking whether an organization's secrets have leaked into public GitHub code.
- Use it when you need a semi-manual review of GitHub search results for a domain.

## Quick start

Terminal · Python 3:

```
git clone https://github.com/BishopFox/GitGot.git
cd GitGot
apt-get install python3-dev libfuzzy-dev ssdeep
pip3 install -r requirements.txt
./gitgot.py -q example.com
```

## Alternatives

- [DNSDumpster](https://osinttools.io/tools/dnsdumpster/): Passive DNS reconnaissance site that lists a domain's subdomains, hosts, mail and name servers with a map. (Freemium · Domain · passive)
- [Fast Google Dorks Scan](https://osinttools.io/tools/fast-google-dorks-scan/): Shell script that runs a set of Google dork searches against one website to find admin panels, file types and exposed paths. (Open source · Domain · passive · 1,744 GitHub stars)
- [Findomain](https://osinttools.io/tools/findomain/): Rust subdomain finder that queries certificate logs and dozens of passive APIs, with optional monitoring and alerts. (Open source · Domain · depends · 3,838 GitHub stars)
- [OWASP Amass](https://osinttools.io/tools/amass/): OWASP command-line tool for subdomain enumeration and attack surface mapping using passive sources and DNS. (Open source · Domain · depends · 15,554 GitHub stars)
- [OneForAll](https://osinttools.io/tools/oneforall/): Python subdomain collector that combines certificate logs, DNS datasets, search engines, brute force and takeover checks. (Open source · Domain · depends · 10,160 GitHub stars)
- [ParamSpider](https://osinttools.io/tools/paramspider/): Fetches a domain's archived URLs from the Wayback Machine and filters them down to ones with parameters. (Open source · Domain · passive · 3,214 GitHub stars)

All alternatives to GitGot in one table: https://osinttools.io/tools/gitgot/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
