update ajfgit command to be a function that gives feedback and fails gracefully