git_helper: Removed unnecessary if/else from git_add