After Opening a new folder in Visual Studio Code select gitbash option that is present under powershell option in right corner and then use the terminal. ☺️☺️