Git sync same branch in two repositories which are cloned from same master

I am trying to implement Git in my company. I decided to implement this model

There are three branches in main repo, ie master,develop and feature1. There are two developer named Alice and Bob. Both developers are working on the clone of main repo. Both of them working in feature1 branch. Alice has defined a Git remote, named bob, pointing to Bob’s repository, and vice versa.

  • Git, how can I untrack files according to .gitignore?
  • Move uncomitted changes from master to branch
  • Git/Bash is extremely slow in Windows 7 x64
  • Why can I see a commit on GitHub but can't look at it on my local repository?
  • Accidently Pulled Down Branch with the Same Name
  • Revert all commits by a specific author since specific time
  • How can i make get Bobs changes on feature branch to Alice and vice versa?

  • Jenkins build strategy with a PHP project from Git
  • How can I see how much I have remaining of a rebase?
  • subdirectories (empty ones) are not pushed to git repo
  • Github how to quality control others upstream new commits
  • Git Submodule Workflow Advice
  • how to ammend the git commit message through python?
  • One Solution collect form web for “Git sync same branch in two repositories which are cloned from same master”

    The “A successful Git branching model »” comes with a set of tools called “git-flow” on top of your default git installation.

    This utility provide some interesting commands to deal with features. Thus Bob or Alice or anyone else can create a new feature and publish it to the main repository:

    git flow feature start <name>
    git flow feature publish <name>

    Then Bob and Alice have to track and pull the newly created feature:

    git flow feature track <name>
    git flow feature pull <remote> [<name>]

    And then Bob and Alice can use everyday git basics to pull (resp. push) changes from (resp. to) the main repository.

    Once the feature is finished you have to tell it to git-flow and delete the feature branch from the main repository:

    git flow feature finish <name>
    git push origin :<name>
    Git Baby is a git and github fan, let's start git clone.