Fix git status not working properly on linux