Did I get this right?

I want to fork a third party project in my private repository, store my new modifications in a “dev” branch and keep the repository up to date with the upstream commits.


  1. git clone <url>
  2. git branch dev
  3. git checkout dev


  1. git fetch
  2. git checkout dev
  3. git rebase upstream/master

Is this correct?

HI @beppe9000,

Thanks for being here! Yes, you are correct to keep your fork up to date:

git fetch upstream

git rebase upstream/master
1 Like

thanks so the upstream parameter was needed