Fixed git lightning for remote and local host