git.c: move cmd_struct declaration up