Question: A co-worker and I have been working on the same branch for a week, constantly pushing/pulling changes and all of a sudden today, I hit 'pull' to see if there were any changes I needed to pull and I got an error.

This is in sourcetree by the way. The error was this:

```
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
error: cannot lock ref 'refs/remotes/origin/angular_removal': unable to resolve reference 'refs/remotes/origin/angular_removal': reference broken
From https://bitbucket.org/colossus
 ! [new branch]        angular_removal -> origin/angular_removal  (unable to update local ref)

```

I'm in sourcetree, which has a terminal built in, but I can't seem to find a resolution here.

Answer: 
I was able to get this fixed by deleted all the items in the `.git/packed-refs` file.

Then I just did a git pull in terminal to get all the references/code from the remote.
```
 git pull

```

resulted in the following error.

```
error: cannot lock ref 'refs/remotes/origin/e2e/gb-feedback-test': is at 2962f77c6b4248a82efbd4d3c*******f but expected c3c0af7e310247b4e8dfd94883******5
From https://company.com
 ! c3c0af7e3..2962f77c6  branch-name -> origin/branch-name  (unable to update local ref)

```

It was resolved by 

```
git pull origin master

```