ChatGPT - Git restore and Next.js fix