implemented gitstatus task, optimized task initialization