Note sure if there's a git library for Node but you can also just execute a shell process directly, example:
var sys = require('sys')
var exec = require('child_process').exec;
function puts(error, stdout, stderr) { sys.puts(stdout) }
exec("git status", puts);