HELP GIT - LOST MY GIT REPOSITORY

Ask for help cause i dont understand a lot of GIT and i am afraid i provoke more troubles

I Had a git repository on my server, wich name was Project.git. 

It was versioned and i was in the branch VERSION3.

So i had MASTER, VERSION 1,2 AND 3. 

At the time i was checkout in VERSION3.

I GOT A PROBLEM AND LOST the “project.git” file on my server. Getting unable to do Pushs etc.

NOW, HOU DO I DO TO CREATE A NEW “PROJECT.GIT” repository in my server, without loosing my alteration history?

I Supose I’ll have to make my VERSION3 branch as the new MASTER i guess, i don’t know… 

But what i know is that I cant loose my history

Its a basic thing but im starting with git.

Hi @thukerthuker,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our community organized so users can more easily find information.

As you’ll notice, your topic is now here in the How to use Git and GitHub board. No action is needed on your part; you can continue the conversation as normal here.

Cheers!