remove slashes in gitigonre