Updates statusline when entering a buffer to hande new commits in
statusline.