Get information about a git repository for NodeJS.