fixed obtain ip for unix
fix search for git for unix