Error while pulling from Forked repository

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.