Fixed it using absolute path, should work so long as your eclipse workspace is also the git repo.