egit doesn't recognize the repository if it doesn't end with .git extension

login to the linux server

cd to path in which you want the repository in

mkdir your_project_name.git //this will create the repository

git init --bare //this will actually initialize the git repository

clone this repository

add files in the local repo

add files to index, commit and push to master

Related Query

More Query from same tag