removes slashes from git ignore