Error: pathspec 'db/schema.rb'

I am following the guide to upgrade from 0.7.6.0 to 0.7.7.0 and I am getting the following error;

[diaspora@pod diaspora]$ git checkout db/schema.rb
error: pathspec ‘db/schema.rb’ did not match any file(s) known to git.

I had followed the installation guide to build so I am not sure why git is failing now.
Here is the guide;
https://wiki.diasporafoundation.org/Updating#Updating_diaspora.2A_0.6_to_diaspora.2A_0.7

The guide you linked is for updating from 0.6.x.x to 0.7.x.x, since you already have 0.7.6.0 you don’t need to do that (and also it doesn’t work, because some files which existed in 0.6.x.x doesn’t exist anymore in 0.7.x.x). For minor updates you can just follow this guide: https://wiki.diasporafoundation.org/Updating#Updating_a_production_install_to_a_new_minor_version

That makes sense. I have to pay attention. Thanks man.