Use an Integer object instead of an int primitive for the --depth clone/fetch/pull commands option to avoid special codes, its either in there or not