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 5980771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:50:55+00:00 2026-05-22T21:50:55+00:00

I have a repository set up on a server running Git, the repository has

  • 0

I have a repository set up on a server running Git, the repository has an authoritive / bare repository connected to it. If I then set up a local version of the repository on my development machine with:

git clone //ip-address/projectfolder/project.git

I can view all of the code without any problems.

However, when I create a branch on the Git server with git checkout -b v1_0_2_1 I can’t see the new branch on my development machine. I’ve tried running git remote update
and when I type git branch -a I can only see:

* master
  remote/origin/HEAD -> origin/master
  remotes/origin/master

Where am I going wrong?

  • 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-22T21:50:55+00:00Added an answer on May 22, 2026 at 9:50 pm

    Try

    git fetch origin
    

    This will get all branches from the remote repo and store them under remotes/origin/branchname

    example :

    ptimac:pfus pti$ git fetch origin
    remote: Counting objects: 2283, done.
    remote: Compressing objects: 100% (892/892), done.
    remote: Total 2009 (delta 990), reused 1698 (delta 688)
    Receiving objects: 100% (2009/2009), 297.21 KiB | 256 KiB/s, done.
    Resolving deltas: 100% (990/990), completed with 152 local objects.
    From github.com:melexis/pfus
       d989914..c09b843  PFUS-682   -> origin/PFUS-682
     * [new branch]      PFUS-686   -> origin/PFUS-686
       b3d0fd2..33e5dd6  PFUS-688   -> origin/PFUS-688
       9765ff2..afe0103  PFUS-697   -> origin/PFUS-697
     * [new branch]      PFUS-699   -> origin/PFUS-699
     * [new branch]      PFUS-700   -> origin/PFUS-700
     * [new branch]      PFUS-768   -> origin/PFUS-768
     * [new branch]      PFUS-769   -> origin/PFUS-769
     * [new branch]      PFUS-770   -> origin/PFUS-770
     * [new branch]      PFUS-771   -> origin/PFUS-771
     * [new branch]      PFUS-773   -> origin/PFUS-773
     * [new branch]      UAT-PATCH  -> origin/UAT-PATCH
       004d135..bc210a6  master     -> origin/master
    

    Here I got the new work from my team mates, each works on their own branch, which corresponds to a ticket.

    ptimac:pfus pti$ git branch -a 
      PROD
    * UAT
      UAT_V1
      master
      remotes/origin/AUDIT
      remotes/origin/CUKES
      remotes/origin/CUKES_RUBY
      remotes/origin/FIX_AUDIT
      remotes/origin/HEAD -> origin/master
      remotes/origin/INKLESS-423
    ... many lines snipped ...
    

    And here are the branches in the local repo.

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

Sidebar

Related Questions

We have an SVN repository running on a Windows server, and I want to
I have a remote git repository setup for centralized development within my team. However,
I have set Mercurial 1.51 up on a Hyper-V server running Windows 2008R2 and
I have a local machine (laptop) and a shared Mercurial repository on another machine
Currently I have a root-level repository set up for each project, like so: Project1
Suppose I have a set of commits in a repository folder... 123 (250 new
I have a git repository with remote foo. foo is a web app, is
I have a git repository which tracks an svn repository. I cloned it using
I have a SVNSERVE server set up to host multiple repositories. Short question here
I am trying to get a git repository up and running and installed git

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.