Replace deprecated call to `shift`.
Update gitignore.