Add gitignore and fix head elapsed transform