update diff functionality for git