# Error while pulling from Forked repository

**URL:** <https://meta.discourse.org/t/error-while-pulling-from-forked-repository/54609>\
**Category:** Product Support\
**Created:** [December 21, 2016, 6:24pm UTC](https://meta.discourse.org/t/error-while-pulling-from-forked-repository/54609 "2016-12-21T18:24:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [December 21, 2016, 7:31pm UTC](https://meta.discourse.org/t/error-while-pulling-from-forked-repository/54609/2 "2016-12-21T19:31:49Z")

</div>

I’m not a git expert, but I think that to make the current existing branch track a new remote branch, you don’t include the branch name at the end of the `-u` command. Try:

`- git branch -u origin/master`  
or  
`- git branch -u origin/tests-passed`

You could probably save yourself a lot of trouble by making the changes you need in a plugin instead of forking the repo.

---

_[View the full topic](https://meta.discourse.org/t/error-while-pulling-from-forked-repository/54609)._
