update git info for the prompt

Signed-off-by: Mattias Andrée <maandree@operamail.com>