I have recently set up a git repository on bitbucket, and have added an old project onto it. I have committed and pushed a change as a test, but now I face this problem.
Okay, turns out I just had to make a comment
//THIS IS A TEST
And commit that. Now it works fine. This must have just been some strange bug.
Thanks for the help though, SirKaydian