allow git.add() to use cwd as an option