When I first go to the context menu and select "Team -> Share Project"
I get the following warning message:
"The environment variable HOME is not set. The following directory will be used for storing the Git user configuration and as default repository location: C:\Users\Juan Prada. If this is not correct please set the HOME environment variable and restart Eclipse."
I checked and the directory was created so I thought it does not matter but could it be it does matter?
If I simply proceed here then the push option is not available I got to "Team -> Remote -> ..." the "Push" option is not available.
If I commit the project I get and error, it says "Exception caught during execution of add command" and the same happens if I try to do the add before committing.
it seems that you don't have a local GIT repository configured. In (1) Eclipse searches or want to create a local GIT repo which you can share and sync with the remote (Github, etc.) repo.
That's why you can't share your local Eclipse repo (2) or commit (3)
Have you already configured a local GIT repository on your computer (it should be on you computer and be found under something like "C:\Users\Juan.... " - as you already described EGit want to create a default local repo)?
If you have already a local GIT repo on your computer first import it (e.g. if you have only updated Bio7
and worked with Git before on the same computer!)
Import Projects from Git->Exisitng Local Repository
then add your existing local Git repo. Select and import it as an Eclipse project (Import Existing Eclipse Projects). Now you should have your existing Git repo configured in a new installation.
You can also open and use the Git perspective to add an existing local Git repo with the "Git Reposities" view (see the toolbar actions!)
A newly created remote Github repo (e.g. Github) can be imported, too and then the new local project can be shared with that newly created remote repository.