Clean up repo_url parsing stuff.
Sort git ignore file