Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6638493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:26:32+00:00 2026-05-25T23:26:32+00:00

I am using TortoiseGit for Windows. I see two branches on remote/origin: HEAD 20

  • 0

I am using TortoiseGit for Windows. I see two branches on remote/origin:

HEAD        20 minutes ago      Some commit message.
master      20 minutes ago      Some commit message.

I am confused why HEAD shows up as a branch; I did not explicitly create a separate branch on origin – it should only be ‘master’. It’s not really a problem, since they seem to update together anyway.

If I execute git branch on origin, it only shows ‘master’.

Why are there two branches? Is this a TortoiseGit-specific thing, or a Git-specific thing? Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:26:32+00:00Added an answer on May 25, 2026 at 11:26 pm

    It’s a git-specific thing. HEAD is a reference to the currently checked out thing, i.e. usually a branch. In your case, HEAD is simply an alias for master. TortoiseGit apparently can’t tell an alias (“symbolic ref”) from a normal branch, so it appears as if HEAD is an extra branch when it really isn’t.

    The situation is a bit different for remote repositories which usually don’t have anything checked out at all. You seem to be looking at a remote repository here. In that case, that repository’s HEAD is used to determine which branch is checked out by default when someone clones that repository. That’s why, when you clone, some branch or another is checked out: git doesn’t just randomly pick a branch, but it looks at the source repository’s HEAD to make that decision.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using TortoiseGit to work with a repository with a remote origin. I
I'm using TortoiseGit on Windows XP. My team all use a central svn server
I'm using Windows XP, TortoiseGit (latest version) and Cygwin. I have git.exe installed and
When I try an push to my remote repo (Unfuddle) using TortoiseGit, my favourite
I'm using remote git repository. I successfully commit my files and now I'm trying
I am using TortoiseGit and am working with an svn repository using git-svn. Sometimes
Using C# .NET 3.5 and WCF, I'm trying to write out some of the
I have installed the latest MSysGit 1.6.3 preview and TortoiseGit 0.6.2 on my Windows
I am using TortoiseGit. I want to revert back to a point earlier before
I am trying to run git-svn using TortoiseGit and am having problems (405 Method

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.