Repository navigation
GitHub
Nibtree can sign in to your GitHub account to do three things git alone cannot: create a repository on GitHub for a project (Share Project on GitHub), update your fork from the project you forked (Sync Fork), and share a file or a selection as a gist (Create Gist). All three are in Git > GitHub.
Pushing and pulling do not use this account. They keep using git's own sign-in, exactly as in a terminal.
The other GitHub items in that submenu (Open on GitHub, Create Pull Request, View Pull Requests, Copy GitHub Link) only open or copy links and need no account. See Git Menu.
Open Settings (Cmd+,) and choose GitHub. There are two ways to sign in.

With a token. A personal access token is a password-like key that you create on GitHub and that only allows what you tick.
- Click create one on GitHub in the hint. It opens GitHub's token page with the
repoandgistscopes (permissions) already ticked. - Create the token on GitHub and copy it.
- Paste it into Sign in with a token and click Sign In (or press Enter).
Nibtree checks the token with GitHub, then keeps it only in the system keychain: the Keychain on a Mac, Credential Manager on Windows. The field is cleared at once and the token is never shown again.
With the GitHub CLI. If you use GitHub's gh command line tool, click Use GitHub CLI. Nibtree then asks gh for its login each time it needs it, and stores nothing. The button only shows when gh is installed; when gh is not signed in, it says to run gh auth login first.
Once signed in, the section shows your initials, your login, your name, the host and where the sign-in comes from ("token in the keychain" or "through the GitHub CLI").

If a classic token lacks the repo or gist scope, a warning says which one is missing: some GitHub actions will fail until you create a new token.
Sign Out asks first. For a token, it removes it from the keychain. For the GitHub CLI, it only stops using gh's login; gh itself stays signed in.
If you choose a GitHub action while signed out, a Sign In to GitHub dialog appears with the same choices, and the action continues once you are signed in.
Use this for a project that is not on GitHub yet. It is disabled when a remote (a named link to a server copy) already points to GitHub.

- Choose Git > GitHub > Share Project on GitHub....
-
Repository name starts from the folder name, cleaned up to letters, digits,
.,-and_. - Private is ticked. Untick it for a public repository: you are asked to confirm, because anyone can then see the code and its history.
-
Remote is
origin, orgithubwhenoriginis taken. Description is optional. - Click Share.
Nibtree creates the repository under your account, adds it as the remote and pushes the current branch, set to track it. A Shared on GitHub dialog then offers Copy Link and Open on GitHub.
If the repository has no commits yet, the dialog asks for an Initial commit message, and every file that is not ignored is committed first. You need a branch checked out (not a detached HEAD).
If pushing fails, you see Created on GitHub, Not Pushed: the repository exists and the remote is added, but git could not sign in to github.com. Set up git's own sign-in (for example run gh auth setup-git), then push again.
A fork is your own copy of someone else's repository on GitHub. When the original moves on, Git > GitHub > Sync Fork asks GitHub to bring those changes into your fork, like GitHub's own Sync fork button.
It syncs your current branch when it tracks a branch of the same name on the fork, and otherwise the fork's default branch. You confirm first. Afterwards Nibtree fetches, so you can pull the changes into your local branch when you are ready. The result says whether it was a fast-forward (the branch just moved forward, no merge commit needed), a merge commit, or already up to date.
If the branch conflicts with the original, GitHub cannot sync it. The Fork has conflicts dialog offers Open Pull Request, which opens a pull request on GitHub where you can merge and resolve the conflicts.
If the repository was not forked from another one, a note says Not a fork.
A gist is a small snippet of code or text shared on GitHub with its own link.

- Open a file in the editor. Select some lines to share only those; otherwise the whole file is shared.
- Choose Git > GitHub > Create Gist....
- File name starts as the file's name. Visibility is Secret (only people with the link can see it) or Public (listed on your profile; you are asked to confirm). Description is optional.
- The dialog shows a preview and says "Selection" or "Whole file" with the line count.
- Click Create Gist.
The Gist Created dialog has Copy Link and Open Gist.
- The token is kept only in the system keychain (Keychain on a Mac, Credential Manager on Windows), never in a settings file, the Git Console or an error message.
~/.nibtree/github.jsonholds only your login, name, host, the sign-in source and missing scopes. - With the GitHub CLI, nothing is stored.
- A development build may ask for Keychain access; choose Always Allow.
These pages are generated from docs/wiki. To correct something, open a pull request against the source file; edits made here are overwritten.
Using Nibtree
- Getting Started
- Welcome Screen
- Workspaces
- Files Panel
- File Operations
- File Icons
- Rounded Panels
- Editor and Tabs
- Pin Reorder and Wrap Tabs
- Single Tab Title
- Split Editor
- New File and Unsaved Changes
- Unload Hidden Tabs
- Editing Code
- Code Appearance
- Markdown Editor
- Image and PDF Preview
- Search Everywhere
- Recent Files
- Navigation Bar
- Find and Replace
- Changes and Commits
- Sign In Prompts
- Commit Box Layout
- Repository Actions
- Commit Options
- Ignoring Files
- Diffs
- Inline Diffs
- Staging View
- Revert a Change
- Resolving Conflicts
- Merge Tool
- Blame
- History and Log
- Merge Commits
- Branches and Tags
- Branches Popup
- Remotes
- Stashes
- Shelf
- Git Menu
- Git Dialogs
- Interactive Rebase
- Worktrees
- AI Agents
- AI Tasks
- AI Usage
- Keep Computer Awake
- Submodules
- Git LFS
- GitHub
- Git Console
- Terminal
- Terminal Features
- Scripts
- Navigation
- Menus
- Settings
- Settings Search
- Color Themes
- Settings Terminal and Automation
- Settings Files
- Updates
- Status Bar and Help
- Notifications
- Memory Use
- Clear Cache
- MCP and CLI
- Git Mergetool
- Keyboard Shortcuts
- Keyboard Shortcuts Editor
- Troubleshooting
- Troubleshooting Git
Developers
- Developer Guide
- Architecture
- Project Layout
- Backend
- How Folder Watching Works
- Folder Watching Bugs We Fixed
- How Workspace Files Work
- How the Preview Scheme Works
- Backend Services
- How Terminal Features Work
- Terminal Bugs We Fixed
- Frontend
- How the Rich Markdown Editor Works
- Rich Markdown Bugs We Fixed
- Git Menu Links
- Menu Keys and Routing
- Frontend Modules
- Blame Bugs We Fixed
- Project Color And Title Bar
- One Diff View
- Diff Bugs We Fixed
- Merge Tool Layouts
- Merge Tool Bugs We Fixed
- Color Theme Bugs We Fixed
- How the Connected Diff Works
- Rounded Panels Bugs We Fixed
- Update Bugs We Fixed
- Status Bar Bugs We Fixed
- MCP and CLI Bugs We Fixed
- Repository Actions Bugs We Fixed
- How the Changes Tab Works
- CodeMirror Patterns
- How the Cursor Works
- How Editor Features Work
- How the Path Bar Works
- Commands and Events
- Settings Reference
- Commands Workspace and Changes
- Commands Branches and Remotes
- Commands History and Extras
- Commands App and Tools
- Testing
- Test Suites
- Debugging
- Debugging with MCP
- Measuring Setting Memory
- How Terminal Memory Is Measured
- How Markdown Diagrams Work
- Releases and CI
- Publishing the Wiki
- Versioning and Changelog
- Browser Version Packages
- Browser Release Checks
- Docker Image
- Platforms and Signing
- Windows Support
- Windows Bugs We Fixed
- Windows MCP and CLI
- Docs and Screenshots
- UI Library
- UI Library MCP
- UI Library Bugs
- UI Library Migration
- Contributing
How features work
- Welcome screen
- Workspaces and folders
- Files panel
- File operations
- File icons
- Editor and tabs
- Pin, reorder and wrap tabs
- Single tab title
- Split editor
- New File and unsaved changes
- Unload hidden tabs
- Editing code
- Code appearance
- Markdown editor
- Image and PDF preview
- Search Everywhere
- Recent Files
- Navigation Bar
- Find and replace
- Changes and commits
- Sign-in prompts
- Commit box layout
- Repository actions
- Commit options
- Ignoring files
- Diffs
- Inline diffs
- Staging view
- Revert a change
- Resolving conflicts
- Merge tool
- Blame
- History and log
- Merge commits
- Commit tabs
- Branches and tags
- Branches popup
- Remotes
- Stashes
- Shelf
- Git menu
- Git dialogs
- Interactive rebase
- Worktrees
- AI agents
- AI usage
- Keep computer awake
- AI tasks
- Submodules
- Git LFS
- GitHub account
- Git Console
- Back and Forward
- Integrated terminal
- Scripts tool window
- Menu bar
- Settings
- Search in Settings
- Color themes
- Rounded panels
- Updates and release channels
- Status bar and help links
- Notifications
- Memory readout and memory log
- Clear Cache
- MCP server and command line tool
- git mergetool mode