started adding long getopts option types (buggy still).  re-wrote debugging. tested pull, config, and clone with old single char. getopts flags.--working still.  Renamed a few variables and functions for clarity.