GitHub Help

  • GitHub.com GitHub Enterprise 2.8 GitHub Enterprise 2.7 GitHub Enterprise 2.6 GitHub Enterprise 2.5 GitHub Enterprise 2.4
  • Contact Support
  • Return to GitHub
  • Set up git

    Set Up Git

  • Create a repo

    Create A Repo

  • Fork a repo

    Fork A Repo

  • Be social

    Be Social

Sometimes you just need a little help.

Common Issues

  • Why are my contributions not showing up on my profile?
  • Why is Git always asking for my password?
  • Dealing with non-fast-forward errors
  • Error: Repository not found
  • Do you have custom plans?
  • HTTPS cloning errors
  • What is my disk quota?
  • What are the limits for viewing content and diffs in my repository?
  • Removing sensitive data from a repository
  • How do I access my organization account?
  • What are the different access permissions?
  • Why are my commits linked to the wrong user?
  • What plan should I choose?
  • How do I cancel my account?
  • Error: remote HEAD refers to nonexistent ref, unable to checkout
  • My repository is marked as the wrong language
  • Paying for your GitHub user account
  • How can I add extra information to my personal account's receipts?
  • Bootcamp
    • Set Up Git
    • Create A Repo
    • Fork A Repo
    • Be Social
  • Setup
    • Signing up for a new GitHub account
    • Verifying your email address
    • Setting your email in Git
    • Setting your username in Git
    • Dealing with line endings
    • Keeping your email address private
  • About GitHub
    • Using an Octocat to link to GitHub or your GitHub profile
    • GitHub Glossary
    • Git and GitHub learning resources
  • Using Git
    • Git cheatsheet
    • Ignoring files
    • Associating text editors with Git
    • What is a good Git workflow?
  • Setting up and managing your GitHub user account
    • Managing user account settings
      • Changing your GitHub username
      • Merging multiple user accounts
      • Deleting your user account
      • What's the difference between user and organization accounts?
      • Publicizing or hiding organization membership
      • Permission levels for a user account repository
      • What happens when I change my username?
      • Best practices for leaving your company
      • What does the 'Available for hire' checkbox do?
      • Connecting with third-party applications
      • Integrating JIRA with your personal projects
    • Managing email preferences
      • Types of emails GitHub sends
      • Adding an email address to your GitHub account
      • Changing your primary email address
      • Managing marketing emails from GitHub
      • Remembering your GitHub username or email
    • Paying for user accounts
      • Paying for your GitHub user account
      • Updating your personal account's credit card
      • Updating your personal account's PayPal information
      • Switching payment methods for your personal account
      • Removing a payment method associated with your user account
      • Setting your personal account's billing email
      • Finding your personal account's next billing date
      • Downloading receipts for personal accounts
      • How can I add extra information to my personal account's receipts?
      • Discounted personal accounts
    • Changing your personal account's billing plan
      • Upgrading your personal account from free to paid with a credit card
      • Upgrading your personal account from free to paid with PayPal
      • Redeeming a coupon for your personal account
      • Switching between monthly and yearly billing for your personal account
      • Downgrading a user account to free
      • Unlocking a locked personal account
      • Purchasing additional storage and bandwidth for a personal account
      • Downgrading storage and bandwidth for a personal account
    • Managing billing on GitHub
      • What plan should I choose?
      • Do you have custom plans?
      • What do I do if my card is declined?
      • Does GitHub provide invoicing?
      • How do I cancel my account?
      • 500 error while upgrading
      • If my account is locked and I upgrade it, do I owe anything for previous time?
      • How does upgrading or downgrading affect the billing process?
      • What happens if my repository is locked?
  • Authenticating to GitHub
    • Keeping your account and data secure
      • Creating a strong password
      • Updating your GitHub access credentials
      • Reviewing your SSH keys
      • Reviewing your deploy keys
      • Reviewing your authorized applications (OAuth)
      • Reviewing your security log
      • Removing sensitive data from a repository
      • About anonymized image URLs
      • GitHub's IP addresses
      • GitHub's SSH key fingerprints
      • Sudo mode
      • Preventing unauthorized access
    • Securing your account with two-factor authentication (2FA)
      • About Two-Factor Authentication
      • Configuring two-factor authentication via a TOTP mobile app
      • Configuring two-factor authentication via FIDO U2F
      • Configuring two-factor authentication via text message
      • Downloading your two-factor authentication recovery codes
      • Setting a fallback authentication number
      • Providing your 2FA authentication code
      • Authenticating to GitHub using FIDO U2F via NFC
      • Changing two-factor authentication delivery methods for your mobile device
      • Recovering your account if you lost your 2FA credentials
      • Countries where SMS authentication is supported
      • Disabling two-factor authentication for your personal account
    • Connecting to GitHub with SSH
      • About SSH
      • Checking for existing SSH keys
      • Generating a new SSH key and adding it to the ssh-agent
      • Adding a new SSH key to your GitHub account
      • Testing your SSH connection
      • Working with SSH key passphrases
    • Troubleshooting SSH
      • Using SSH over the HTTPS port
      • Recovering your SSH key passphrase
      • Error: Permission denied (publickey)
      • Error: Bad file number
      • Error: Key already in use
      • Error: Permission to user/repo denied to other-user
      • Error: Permission to user/repo denied to user/other-repo
      • Error: Agent admitted failure to sign
      • Error: SSL certificate problem, verify that the CA cert is OK
      • Error: We're doing an SSH key audit
    • Signing commits with GPG
      • About GPG
      • Checking for existing GPG keys
      • Generating a new GPG key
      • Adding a new GPG key to your GitHub account
      • Telling Git about your GPG key
      • Associating an email with your GPG key
      • Signing commits using GPG
      • Signing tags using GPG
    • Troubleshooting GPG
      • Checking your GPG commit and tag signature verification status
      • Updating an expired GPG key
      • Using a verified email address in your GPG key
  • Setting up and managing your GitHub profile
    • Customizing your profile
      • About your profile
      • Setting your profile picture
      • Adding a bio to your profile
      • Pinning repositories to your profile
    • Managing contribution graphs on your profile
      • Viewing contributions on your profile
      • Publicizing or hiding your private contributions on your profile
      • Why are my contributions not showing up on my profile?
  • Writing on GitHub
    • Getting started with writing and formatting on GitHub
      • About writing and formatting on GitHub
      • Basic writing and formatting syntax
    • Working with advanced formatting
      • Organizing information with tables
      • Creating and highlighting code blocks
      • Autolinked references and URLs
    • Working with saved replies
      • Creating a saved reply
      • Changing a saved reply
      • Deleting a saved reply
      • Using saved replies
  • Setting up and managing organizations and teams
    • Creating a new organization account
      • About organizations
      • Creating a new organization from scratch
      • Converting a user into an organization
      • Permission levels for an organization
      • Inviting users to join your organization
      • Canceling or editing an invitation to join your organization
      • Removing a member from your organization
      • Reinstating a former member of your organization
      • Adding a billing manager to your organization
      • Removing a billing manager from your organization
      • Can I create accounts for people in my organization?
    • Paying for organization accounts
      • Paying for your GitHub organization account
      • Updating your organization's credit card
      • Updating your organization's PayPal information
      • Switching payment methods for your organization
      • Removing a payment method associated with your organization
      • Setting your organization's billing email
      • Finding your organization's next billing date
      • Downloading receipts for organizations
      • How can I add extra information to my organization's receipts?
      • Discounted organization accounts
    • Changing your organization billing plan
      • Upgrading your organization account from free to paid with a credit card
      • Upgrading your organization account from free to paid with PayPal
      • About per-user pricing
      • Switching from per-repository to per-user pricing
      • Adding seats to your organization
      • Removing paid seats from your organization
      • Redeeming a coupon for organizations
      • Switching between monthly and yearly billing for your organization
      • Downgrading an organization with per-seat pricing to free
      • Downgrading an organization with per-repository pricing to free
      • Unlocking a locked organization account
      • Purchasing additional storage and bandwidth for an organization
      • Downgrading storage and bandwidth for an organization
    • Setting up teams
      • About improved organization permissions
      • Repository permission levels for an organization
      • Creating a team
      • Deleting a team
      • Changing a person's role to owner
      • Giving "team maintainer" permissions to an organization member
      • Converting your previous Owners team to the improved organization permissions
      • Converting your previous admin team to the improved organization permissions
      • Migrating your previous admin teams to the improved organization permissions
    • Maintaining teams
      • Renaming a team
      • Changing team visibility
      • Adding organization members to a team
      • Removing organization members from a team
      • Managing an individual's access to an organization repository
      • Managing team access to an organization repository
    • Restricting access to your organization's data
      • About third-party application restrictions
      • Enabling third-party application restrictions for your organization
      • Disabling third-party application restrictions for your organization
      • Approving third-party applications for your organization
      • Denying access to a previously approved application for your organization
      • Requesting organization approval for third-party applications
      • Requesting organization approval for your authorized applications
    • Keeping your organization secure
      • Adding outside collaborators to repositories in your organization
      • Removing an outside collaborator from an organization repository
      • Converting an organization member to an outside collaborator
      • Converting an outside collaborator to an organization member
      • Viewing whether users in your organization have 2FA enabled
      • Requiring two-factor authentication in your organization
      • Reinstating a former outside collaborator's access to your organization
      • Reviewing the audit log for your organization
      • Auditing applications owned by your organization
    • Managing organization settings
      • Accessing your organization's settings
      • Renaming an organization
      • Transferring organization ownership
      • Deleting an organization account
      • Converting an organization into a user
      • Integrating JIRA with your organization's projects
    • Encouraging positive contributions in your organization
      • Blocking a user from your organization
      • Viewing users who are blocked from your organization
      • Unblocking a user from your organization
    • Setting up and paying for organizations for resellers
      • About organizations for resellers
      • Creating and paying for an organization on behalf of a client
      • Upgrading or downgrading your client's paid organization
      • Renewing your client's paid organization
  • Organizations
    • How do I access my organization account?
    • What are the different access permissions?
    • Removing yourself from an organization
    • Viewing people's roles in an organization
  • Creating, cloning, and archiving repositories
    • Creating a repository on GitHub
      • About repositories
      • Creating a new repository
      • About READMEs
      • About repository languages
      • Licensing a repository
      • Creating an issues-only repository
      • Limits for viewing content and diffs in a repository
      • Duplicating a repository
    • Cloning a repository from GitHub
      • Cloning a repository
      • HTTPS cloning errors
      • Error: Repository not found
      • Error: Remote HEAD refers to nonexistent ref, unable to checkout
    • Archiving a GitHub repository
      • About archiving content and data on GitHub
      • Referencing and citing content
      • Backing up a repository
  • Managing files in a repository
    • Managing files on GitHub
      • Creating new files
      • Adding a file to a repository
      • Renaming a file
      • Moving a file to a new location
      • Editing files in your repository
      • Editing files in another user's repository
      • Tracing changes in a file
      • Deleting files
      • Getting permanent links to files
    • Managing files using the command line
      • Adding a file to a repository using the command line
      • Renaming a file using the command line
      • Moving a file to a new location using the command line
  • Working with non-code files
    • Rendering and diffing images
    • Mapping geoJSON files on GitHub
    • Working with Jupyter Notebook files on GitHub
    • 3D File Viewer
    • Rendering CSV and TSV data
    • Rendering PDF documents
    • Rendering differences in prose documents
  • Managing Large Files
    • Working with large files
      • Conditions for large files
      • Removing files from a repository's history
      • Distributing large binaries
      • What is my disk quota?
    • Versioning large files
      • About Git Large File Storage
      • Installing Git Large File Storage
      • Configuring Git Large File Storage
      • Collaboration with Git Large File Storage
      • Moving a file in your repository to Git Large File Storage
      • Removing files from Git Large File Storage
    • Managing storage and bandwidth usage
      • About storage and bandwidth usage
      • Viewing storage and bandwidth usage for a personal account
      • Viewing storage and bandwidth usage for an organization
  • Commits
    • Changing a commit message
    • Closing issues via commit messages
    • Commit exists on GitHub but not in my local clone
    • Commit branch and tag labels
    • Why are my commits linked to the wrong user?
    • Why are my commits in the wrong order?
    • Comparing commits across time
    • Differences between commit views
  • Search
    • Searching GitHub
    • Advanced Search
    • Search Syntax
    • Searching repositories
    • Searching code
    • Searching commits
    • Searching issues
    • Searching users
    • Searching wikis
  • Notifications
    • About notifications
    • Watching repositories
    • About notification emails
    • Managing notification emails for organizations
    • Managing notifications for pushes to a repository
    • News Feed
    • Managing notification delivery methods
    • Listing watched repositories
    • Unwatching repositories
    • Managing notifications
  • Exploring projects on GitHub
    • About Stars
    • Managing your stars
    • Finding open source projects on GitHub
    • About GitHub mirrors
  • Keyboard Shortcuts
    • Using keyboard shortcuts
  • Collaborating with issues and pull requests
    • About pull requests
    • GitHub flow
    • About collaborative development models
    • Working with forks
      • About forks
      • Configuring a remote for a fork
      • Syncing a fork
      • Merging an upstream repository into your fork
      • Allowing changes to a pull request branch created from a fork
      • What happens to forks when a repository is deleted or changes visibility?
    • Discussing project details in issues and pull requests
      • About discussions in issues and pull requests
      • Subscribing to conversations
      • Unsubscribing from conversations
    • Collaborating on repositories with code quality features enabled
      • About statuses
      • Working with protected branches
    • Proposing changes to your work with pull requests
      • Creating and deleting branches within your repository
      • About comparing branches in pull requests
      • Creating a pull request
      • Creating a pull request from a fork
      • Requesting a pull request review
      • Changing the base branch of a pull request
      • Committing changes to a pull request branch created from a fork
    • Addressing merge conflicts
      • About merge conflicts
      • Resolving a merge conflict on GitHub
      • Resolving a merge conflict using the command line
    • Reviewing changes in pull requests
      • About pull request reviews
      • Reviewing proposed changes in a pull request
      • Commenting on a pull request
      • Viewing a pull request review
      • Approving a pull request with required reviews
      • Dismissing a pull request review
      • Checking out pull requests locally
    • Incorporating changes from a pull request
      • About pull request merges
      • Merging a pull request
      • Closing a pull request
      • Reverting a pull request
  • Building a strong community
    • Helping people contribute to your project
      • Setting guidelines for repository contributors
      • Adding a code of conduct to your project
      • Adding a license to a repository
      • Creating an issue template for your repository
      • Creating a pull request template for your repository
    • Moderating comments and conversations
      • Editing a comment
      • Deleting a comment
      • Locking conversations
    • Encouraging positive contributions to your project
      • Blocking a user from your personal account
      • Viewing users you've blocked from your personal account
      • Unblocking a user from your personal account
      • Reporting abuse or spam
  • Managing Repository Collaborators
    • Inviting collaborators to a personal repository
    • Removing a collaborator from a personal repository
    • Removing yourself from a collaborator's repository
  • Managing Remotes
    • About remote repositories
    • Adding a remote
    • Changing a remote's URL
    • Renaming a remote
    • Removing a remote
    • Which remote URL should I use?
    • Why is Git always asking for my password?
    • Dealing with non-fast-forward errors
    • Fetching a remote
    • Pushing to a remote
    • Updating credentials from the OSX Keychain
    • Caching your GitHub password in Git
  • Releases
    • About Releases
    • Creating Releases
    • Working with Tags
    • Editing and deleting releases
    • Getting the download count for your releases
    • Linking to releases
  • Visualizing repository data with graphs
    • Accessing basic repository data
      • About repository graphs
      • Viewing a summary of repository activity
      • Viewing contribution activity in a repository
      • Viewing traffic to a repository
    • Analyzing changes to a repository's content
      • Visualizing commits in a repository
      • Visualizing additions and deletions to content in a repository
      • Viewing commit frequency in a repository
    • Understanding connections between repositories
      • Viewing a repository's network
      • Listing the forks of a repository
      • Listing the projects that depend on a repository
  • Importing your projects to GitHub
    • Importing source code to GitHub
      • About GitHub Importer
      • Importing a repository with GitHub Importer
      • Updating commit author attribution with GitHub Importer
      • Importing a Git repository using the command line
      • Adding an existing project to GitHub using the command line
      • Source code migration tools
    • Working with Subversion on GitHub
      • What are the differences between Subversion and Git?
      • Support for Subversion clients
      • Subversion properties supported by GitHub
  • Advanced Git
    • About Git rebase
    • Using Git rebase on the command line
    • Resolving merge conflicts after a Git rebase
    • Changing author info
    • Splitting a subfolder out into a new repository
    • About Git subtree merges
  • Managing your work on GitHub
    • Managing your work with issues
      • About issues
      • Creating an issue
      • About task lists
      • File attachments on issues and pull requests
      • Assigning issues and pull requests to other GitHub users
      • Creating and editing labels for issues and pull requests
      • Applying labels to issues and pull requests
      • Viewing all of your issues and pull requests
      • Disabling issues
    • Tracking the progress of your work with projects
      • About projects
      • Creating a project
      • Editing and deleting a project
      • Adding issues and pull requests to a project
      • Adding notes to a project
    • Tracking the progress of your work with milestones
      • About milestones
      • Creating and editing milestones for issues and pull requests
      • Associating milestones with issues and pull requests
      • Filtering issues and pull requests by milestone
      • Viewing your milestone's progress
    • Finding information in a repository
      • Filtering issues and pull requests
      • Filtering issues and pull requests by assignees
      • Filtering issues and pull requests by labels
      • Sorting issues and pull requests
      • Using search to filter issues and pull requests
      • Sharing filters
  • Administering a repository
    • Managing repository settings
      • About repository transfers
      • Transferring a repository owned by your personal account
      • Transferring a repository owned by your organization
      • Renaming a repository
      • Making a public repository private
      • Making a private repository public
      • Deleting a repository
    • Managing branches in your repository
      • About branches
      • Setting the default branch
      • Viewing branches in your repository
      • Deleting unused branches
    • Configuring pull request merges
      • About merge methods on GitHub
      • Configuring commit squashing for pull requests
      • Configuring commit rebasing for pull requests
    • Defining the mergeability of pull requests
      • About protected branches
      • Configuring protected branches
      • About required status checks
      • Types of required status checks
      • Enabling required status checks
      • About branch restrictions
      • Enabling branch restrictions
      • About required reviews for pull requests
      • Enabling required reviews for pull requests
  • Gists
    • About gists
    • Creating gists
    • Forking and cloning gists
    • Deleting an anonymous gist
  • Wiki
    • About GitHub Wikis
    • Adding wiki pages via the online interface
    • Editing wiki pages via the online interface
    • Creating a footer
    • Creating a sidebar
    • Adding and editing wiki pages locally
    • Viewing a wiki's history of changes
    • Adding images to wikis
    • Adding links to wikis
    • Supported MediaWiki formats
    • Changing access permissions for wikis
    • Disabling wikis
  • Automation
    • Getting started with the API
    • Creating an access token for command-line use
    • Git automation with OAuth tokens
    • About Webhooks
  • GitHub Pages Basics
    • What is GitHub Pages?
    • Configuring a publishing source for GitHub Pages
    • User, Organization, and Project Pages
    • Creating Project Pages using the command line
    • Securing your GitHub Pages site with HTTPS
    • Unpublishing a Project Pages site
    • Unpublishing a User Pages site
    • Further reading on GitHub Pages
  • Customizing GitHub Pages
    • Using Jekyll as a static site generator with GitHub Pages
      • About GitHub Pages and Jekyll
      • About the Jekyll Theme Chooser
      • Creating a GitHub Pages site with the Jekyll Theme Chooser
      • Adding a Jekyll theme to your GitHub Pages site
      • Customizing CSS and HTML in your Jekyll theme
      • Setting up your GitHub Pages site locally with Jekyll
      • Configuring Jekyll
    • Troubleshooting GitHub Pages builds
      • Viewing Jekyll build error messages
      • Generic Jekyll build failures
      • Page build failed: Missing docs folder
      • Page build failed: Invalid submodule
      • Page build failed: Missing submodule
      • Page build failed: Markdown errors
      • Page build failed: Config file error
      • Page build failed: Unknown tag error
      • Page build failed: Tag not properly terminated
      • Page build failed: Tag not properly closed
      • Page build failed: File does not exist in includes directory
      • Page build failed: File is a symlink
      • Page build failed: Symlink does not exist within your site's repository
      • Page build failed: File is not properly UTF-8 encoded
      • Page build failed: Invalid post date
      • Page build failed: Invalid Sass or SCSS
      • Page build failed: Invalid highlighter language
      • Updating your Markdown processor to kramdown
      • Page build failed: Relative permalinks configured
      • Page build failed: Syntax error in 'for' loop
      • Files that start with an underscore are missing
      • Page build failed: Invalid YAML in data file
      • Page build failed: Date is not a valid datetime
    • Adding Jekyll plugins to a GitHub Pages site
      • Configuring Jekyll plugins
      • Sitemaps for GitHub Pages
      • Search engine optimization for GitHub Pages
      • Repository metadata on GitHub Pages
      • Atom (RSS) feeds for GitHub Pages
      • Redirects on GitHub Pages
      • Emoji on GitHub Pages
      • @Mentions on GitHub Pages
    • Using a custom domain with GitHub Pages
      • Quick start: Setting up a custom domain
      • About supported custom domains
      • Custom domain redirects for GitHub Pages sites
      • Adding or removing a custom domain for your GitHub Pages site
      • Setting up an apex domain
      • Setting up a www subdomain
      • Setting up an apex domain and www subdomain
      • Setting up a custom subdomain
      • Troubleshooting custom domains
    • Additional customizations for GitHub Pages
      • Creating a custom 404 page for your GitHub Pages site
      • Using syntax highlighting on GitHub Pages
      • Using a static site generator other than Jekyll
      • MIME types on GitHub Pages
      • Should I rename <username.github.com> repositories to <username.github.io>?
      • Using submodules with Pages
  • Jobs
    • How to write a great job post
  • Administration
    • Why did I get redirected to this page?
  • Site Policy
    • Supported Browsers
    • Name Squatting Policy
    • DMCA Takedown Policy
    • Guide to Submitting a DMCA Takedown Notice
    • Guide to Submitting a DMCA Counter Notice
    • GitHub Trademark Policy
    • GitHub Privacy Statement
    • GitHub Security
    • Responsible Disclosure of Security Vulnerabilities
    • GitHub Terms of Service
    • Amendment to GitHub Terms of Service Applicable to U.S. Federal Government Users
    • Guidelines for Legal Requests of User Data
    • Global Privacy Practices
    • GitHub Community Guidelines
    • GitHub Registered Developer Agreement
    • GitHub Pre-Release Program
    • GitHub and Export Controls
The GitHub Logo

© 2017 GitHub Inc. All rights reserved.

  • Terms of Service
  • Privacy
  • Security
  • Support