Added logic to deal with Git present

I added logic, to work with a present git in the PATH (Env var).
Also I added some functionality to work with a previous path provided on
a previous execution.

Summary:
-Now it deals with git, if it's present at the environment
-Saves a file with the path provided for futures executions.