Create Branch Unavailable

Screenshot 2022-08-19 at 11.12.23

In a theme file we can no longer create a branch, the file is very large and has memory issues, which may be the cause any tips to solve this?