No ref argument to backends log method.

I have added an argument to the log method to Repository objects. Currently this is useful only for Git in order to parse only the master branch (i.e. to remove the --all argument from git CLI).