use constant
added method which opens repository
renamed methods
use map instead of list
inject GitExecutor
fixed tests