Add S4 class git_fetch_head

Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>