Q:

unable to access terminal alias/ shortcuts in .zshrc file or .bashrc in terminal, File/folder permission issue

On mac, it used to work file but recently it doesnt allow me to use the alias /shortcuts in the terminal 
I have created the alias for git add .   =  a . 
git checkout -b  = co -b 
But now unless I specify sudo and full git add .  command i can't run the command. 
Also for any command I always have to use sudo which wasn't the case before. 
projectFolder/.git: Permission denied

Unless I do sudo and full git iniit  command it doesnt work. 

A:

Since you have access to sudo, you should be able to chown your all tree back to your account:
sudo chown -R jay /Users/jay

As long as you see root as a user in your tree (with ls -alrth), you would need sudo indeed.

