Add the fetch option

Add the fetch option, to tell whether new commits from remote git
repository should be fetched automatically.

Default is true.
The exec function can now execute a script

If the argument starts with '#', then it is considered to be a script,
which is written to a temporary file and executed.