How do I get my new eclipse branch to show up as a new project in my github repository?

I am working through a programming book and I want to branch off of master for each chapter, then merge back to master once the chapter is completed, but have the chapter specific branch show up in my github permanently. What is the best way to do this through the eclipse gui? I have already created the branch in eclipse, but I can’t get it to create the duplicate project branch in github.

Github repository

  • In Eclipse, how can I exclude some files (maybe based on the .svn extension or filename) from being copied to the output folder?
  • How can I ignore build directory in Subclipse?
  • What do the egit merge modes mean?
  • Merge local Java project to existing git repo
  • git server with eclipse project
  • Where to git init for Java project?
  • Moved local git folder and now its asking to stage most of my project files?
  • fatal: This operation must be run in a work tree
  • git - error while trying to commit a C++ project
  • Error pushing to GitHub using Git for Windows
  • Replace one project with another on git repository
  • git pull does nothing
  • 2 Solutions collect form web for “How do I get my new eclipse branch to show up as a new project in my github repository?”

    If your “Team => Push to Upstream” is grayed, you need to specify the upstream address of your local Git repo in your Eclipse Egit configuration: see “Eclipse/Egit, Push to Remote menu choice is grayed out”.

    Check also your SSH2 config in the same EGit.

    Finally, click on “Add all branches spec” in order to push all your local branches to the upstream repo:


    Did you push the branch?

    git push origin chapter1

    git push origin chapter2


    (Note: If you’re using a graphical interface for git in eclipse you might consider adding that information to the question.)

    Git Baby is a git and github fan, let's start git clone.