Hi Alejandro,
You might have a look at the projects I share on GitHub: mcuoneclipse/Examples/KDS at master · ErichStyger/mcuoneclipse · GitHub
The .gitignore depends on the project type. For a Processor Expert one it looks like this:
mcuoneclipse/.gitignore at master · ErichStyger/mcuoneclipse · GitHub
For a SDK project it looks like this:
mcuoneclipse/.gitignore at master · ErichStyger/mcuoneclipse · GitHub
As long as you are not using absolute paths in your project settings, then you easily can share them with a version control system. Use variables like ${ProjDirPath}:

Even better, use relative paths like this:

For the above, you need to know (or keep in mind) that the 'current directory' for the build tools is the 'output' folder in the project (usually 'Debug' or 'Release'). So '../' goes up one level. That way the paths are relative to that folder.
There is as well Version Control with Processor Expert Projects | MCU on Eclipse which still applies.
I hope this helps,
Erich