Is there any command in Git, that clear the screen. for example in window command line after execute a lot of code, if you type cls, then it will clear all the previous code. so
try using reset command, it will absolutely clean your screen but you will still have access to previous commands
reset