Github overwrite

Hi! I joined Juliabox today. I had created a repo on github and pulled it to Juliabox. Then I created a notebook and wrote a bunch of code. But when I was trying to sync back to github it asked me to add the repo again. On doing so my notebook has disappeared.
Can you guys please help me out how I can recover the notebook? Thanks a lot for your time.